2013/10/17 20:08:26 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:08:26 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:08:26 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteraccessControl()
2013/10/17 20:08:26 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:08:26 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011706, :id='220q2lpvuiko92ik882fumq152'
2013/10/17 20:08:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:08:26 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filterdomainName()
2013/10/17 20:08:26 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteragencyContext()
2013/10/17 20:08:26 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:08:26 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:08:26 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:08:26 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:08:26 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:08:26 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:08:26 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/raintree/tickets
---
2013/10/17 20:08:26 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:08:26 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:08:26 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:08:26 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011706, :id='220q2lpvuiko92ik882fumq152'
2013/10/17 20:08:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:08:26 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:08:26 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:08:26 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:08:26 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:08:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:08:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:08:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:08:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:08:28 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:08:28 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:08:28 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:08:28 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:08:28 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:08:28 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:08:28 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:08:28 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:08:28 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:08:28 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:08:28 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011708, :id='220q2lpvuiko92ik882fumq152'
2013/10/17 20:08:28 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:08:28 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:08:28 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:08:28 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:08:28 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:08:28 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:08:28 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:08:28 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:08:28 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:10:00 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:10:00 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:10:00 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:10:00 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:10:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011800, :id='220q2lpvuiko92ik882fumq152'
2013/10/17 20:10:00 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:10:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:10:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:10:00 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:10:00 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:10:00 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:10:00 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:10:05 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:10:05 [trace] [system.web.filters.CFilterChain] Running filter AccountController.filteraccessControl()
2013/10/17 20:10:05 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:10:05 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:10:05 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011805, :id='220q2lpvuiko92ik882fumq152'
2013/10/17 20:10:05 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:05 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:10:05 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:10:05 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:10:05 [trace] [system.web.filters.CFilterChain] Running filter AccountController.filterdomainName()
2013/10/17 20:10:05 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:10:05 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:10:05 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:05 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:10:11 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:10:11 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter AccountController.filteraccessControl()
2013/10/17 20:10:11 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:10:11 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011811, :id='220q2lpvuiko92ik882fumq152'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id` IS NULL LIMIT 1
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter AccountController.filterdomainName()
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`username`=:yp0 LIMIT 1. Bound with :yp0='propsage'
2013/10/17 20:10:11 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "authManager" application component
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_assignment`
JOIN `user_auth_item` `i` ON itemname = i.name
JOIN `user` `u` ON userid = u.id
WHERE userid=:userid AND (i.agency_id IS NULL OR i.agency_id = u.agency_id). Bound with :userid='1'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_item`
WHERE name=:name. Bound with :name='Login.Prestige'
2013/10/17 20:10:11 [trace] [system.web.auth.CDbAuthManager] Checking permission "Login.Prestige"
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `parent`
FROM `user_auth_item_child`
WHERE child=:name. Bound with :name='Login.Prestige'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_item`
WHERE name=:name. Bound with :name='DefaultAdministrator'
2013/10/17 20:10:11 [trace] [system.web.auth.CDbAuthManager] Checking permission "DefaultAdministrator"
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`username`=:yp0 LIMIT 1. Bound with :yp0='propsage'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_assignment`
JOIN `user_auth_item` `i` ON itemname = i.name
JOIN `user` `u` ON userid = u.id
WHERE userid=:userid AND (i.agency_id IS NULL OR i.agency_id = u.agency_id). Bound with :userid='1'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_item`
WHERE name=:name. Bound with :name='Login.Prestige'
2013/10/17 20:10:11 [trace] [system.web.auth.CDbAuthManager] Checking permission "Login.Prestige"
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `parent`
FROM `user_auth_item_child`
WHERE child=:name. Bound with :name='Login.Prestige'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_item`
WHERE name=:name. Bound with :name='DefaultAdministrator'
2013/10/17 20:10:11 [trace] [system.web.auth.CDbAuthManager] Checking permission "DefaultAdministrator"
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`username`=:yp0 LIMIT 1. Bound with :yp0='propsage'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_assignment`
JOIN `user_auth_item` `i` ON itemname = i.name
JOIN `user` `u` ON userid = u.id
WHERE userid=:userid AND (i.agency_id IS NULL OR i.agency_id = u.agency_id). Bound with :userid='1'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_item`
WHERE name=:name. Bound with :name='Login.Prestige'
2013/10/17 20:10:11 [trace] [system.web.auth.CDbAuthManager] Checking permission "Login.Prestige"
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `parent`
FROM `user_auth_item_child`
WHERE child=:name. Bound with :name='Login.Prestige'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `user_auth_item`
WHERE name=:name. Bound with :name='DefaultAdministrator'
2013/10/17 20:10:11 [trace] [system.web.auth.CDbAuthManager] Checking permission "DefaultAdministrator"
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user_login_token`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user_login_token`
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] UserLoginToken.insert()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `user_login_token` (`token`, `create_time`, `user_id`) VALUES (:yp0, UTC_TIMESTAMP(), :yp1). Bound with :yp0='cf2c4b31136ab5a5e104bf040e19773c320b07a617c5ed7cf5034ab09e799705401203eef282bb977b1c32ee872b37f43321ee879247c94b2df3a8c6f021fa5c', :yp1=1
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT *
FROM `yii_session`
WHERE id=:id. Bound with :id='220q2lpvuiko92ik882fumq152'
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Executing SQL: UPDATE `yii_session` SET `id`=:id WHERE id=:oldID. Bound with :oldID='220q2lpvuiko92ik882fumq152', :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:10:11 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:10:11 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:11 [trace] [system.db.CDbConnection] Starting transaction
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] CalCalendar.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `cal_calendar`
2013/10/17 20:10:11 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:10:11 [error] [system.db.CDbCommand] CDbCommand::fetchAll() failed: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'realestate_dev1.cal_calendar' doesn't exist. The SQL statement executed was: SHOW FULL COLUMNS FROM `cal_calendar`.
2013/10/17 20:10:11 [trace] [system.db.CDbTransaction] Rolling back transaction
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] PostalCode.findByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `postal_code`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `postal_code`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `postal_code` `t` WHERE `t`.`postal_code`=:yp0 LIMIT 1. Bound with :yp0='000123'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.update()
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.updateByPk()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Executing SQL: UPDATE `user` SET `last_login`=UTC_TIMESTAMP() WHERE `user`.`id`=1
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `system_event`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `system_event`
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] SystemEvent.insert()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `system_event` (`name`, `description`, `type`, `time`, `ip_address`, `user_id`) VALUES (:yp0, :yp1, :yp2, UTC_TIMESTAMP(), :yp3, :yp4). Bound with :yp0='Login Success', :yp1='Username: propsage', :yp2='Login', :yp3='127.0.0.1', :yp4=1
2013/10/17 20:10:11 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:10:11 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:10:11 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:10:11 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011811, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:10:11 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:10:11 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:11 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:10:11 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:10:11 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:10:11 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:10:11 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011811, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:10:11 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:10:11 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:11 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:11 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:10:11 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:10:11 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:10:11 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:10:38 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:10:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:10:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:10:38 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011838, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:10:38 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:10:38 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:38 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:10:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:10:38 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:10:38 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:10:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:10:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:10:38 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382011838, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:10:38 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:10:38 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:38 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:10:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:10:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:10:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:10:38 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:10:38 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:15:57 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:15:57 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:15:57 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:15:57 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012157, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:15:57 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:15:57 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:15:57 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:15:57 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:15:57 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:15:57 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:15:57 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:15:57 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:15:57 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012157, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:15:57 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:15:57 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:15:57 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:15:57 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:15:57 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:15:57 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:15:57 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:15:57 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:17:17 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:17:17 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:17:17 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:17:17 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:17:17 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:17:17 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:17:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:17 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:17:17 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:17:17 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:17:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012237, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:17:17 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:17:17 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:17:17 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:18 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:17:18 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:17:18 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:17:18 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:17:18 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:17:18 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:17:18 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012238, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:17:18 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:17:18 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:18 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:18 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:18 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:17:18 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:17:18 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:17:18 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:17:20 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:17:20 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:17:20 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:17:20 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012240, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:17:20 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:17:20 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:20 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:17:20 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:17:20 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:17:20 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:17:20 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:17:20 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:17:20 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012240, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:17:20 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:17:20 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:20 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:17:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:17:20 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:17:20 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:17:20 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:17:20 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:19:12 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:19:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:19:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:19:12 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012352, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:19:12 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:19:12 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:12 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:19:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:19:12 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:19:12 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:19:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:19:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:19:12 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012352, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:19:12 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:19:12 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:12 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:19:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:19:12 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:19:12 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:19:23 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:19:23 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:19:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:19:23 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012363, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:19:23 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:19:23 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:23 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:23 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:19:23 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:19:23 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:19:23 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:19:23 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:19:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:19:23 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012363, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:19:23 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:19:23 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:23 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:19:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:19:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:19:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:19:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:24 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:19:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:19:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:19:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:19:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:19:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:19:24 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:19:24 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:19:24 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:24 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:24 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:24 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012424, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:24 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:24 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:24 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:24 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:24 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:24 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:24 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012424, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:24 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:24 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:24 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:24 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:24 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:30 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:30 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:30 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:30 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012430, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:30 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:30 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:30 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:30 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:30 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:30 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:30 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:30 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:30 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012430, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:30 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:30 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:30 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:30 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:30 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:30 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:30 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:30 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:36 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:36 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:36 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012436, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:36 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:36 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:36 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:36 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:36 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:36 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:36 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012436, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:36 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:36 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:36 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:36 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:36 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:39 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:39 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:39 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:39 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:39 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:39 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:39 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:39 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:39 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:39 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012439, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:39 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:39 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:39 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:39 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:39 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:40 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:40 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:40 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012440, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:40 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:40 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:40 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:40 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:40 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:43 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:43 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012443, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:43 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:43 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:43 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:43 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:43 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:43 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012443, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:43 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:43 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:43 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:43 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:43 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:45 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:45 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:45 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012445, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:45 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:45 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:45 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:45 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:45 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:45 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:45 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012445, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:45 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:45 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:45 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:45 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:45 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:50 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:50 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:50 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:50 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:50 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:50 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:50 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:50 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:50 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:50 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:50 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012450, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:50 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:50 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:50 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:51 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:51 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:51 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:51 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:51 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012451, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:51 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:51 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:51 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:51 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:51 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:52 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:52 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:52 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:52 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012452, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:52 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:52 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:52 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:52 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:52 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:52 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:52 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:52 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:52 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012452, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:52 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:52 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:52 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:52 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:52 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:52 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:52 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:52 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:20:54 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:54 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:54 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:54 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:54 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:54 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:54 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:54 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:54 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:54 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:54 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012454, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:54 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:54 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:54 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:55 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:55 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:55 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:20:55 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:20:55 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:20:55 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:20:55 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012455, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:20:55 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:20:55 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:55 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:20:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:20:55 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:20:55 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:20:55 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:20:55 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:21:10 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:21:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:21:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:21:10 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012470, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:21:10 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:21:10 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:21:10 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:21:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:21:10 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:21:10 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:21:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:21:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:21:10 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012470, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:21:10 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:21:10 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:21:10 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:21:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:21:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:21:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:21:10 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:21:10 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:25:01 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:25:01 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteraccessControl()
2013/10/17 20:25:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:25:01 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012701, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:25:01 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:25:01 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:01 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filterdomainName()
2013/10/17 20:25:01 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteragencyContext()
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:25:01 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:25:01 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:25:01 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:25:01 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets?shortname=raintree
---
2013/10/17 20:25:01 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:25:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:25:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:25:01 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012701, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:25:01 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:25:01 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:01 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:25:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:25:01 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:25:01 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:25:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:25:16 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:25:16 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:25:16 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteraccessControl()
2013/10/17 20:25:16 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:25:16 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012716, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:25:16 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:25:16 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:16 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filterdomainName()
2013/10/17 20:25:16 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteragencyContext()
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:25:16 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:25:16 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:25:16 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:25:16 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:25:16 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/raintree/tickets/open
---
2013/10/17 20:25:16 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:25:16 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:25:16 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:25:16 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012716, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:25:16 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:25:16 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:16 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:16 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:25:16 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:25:16 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:25:16 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:25:16 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:25:17 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:25:17 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:25:17 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteraccessControl()
2013/10/17 20:25:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:25:17 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012717, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:25:17 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:25:17 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:17 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filterdomainName()
2013/10/17 20:25:17 [trace] [system.web.filters.CFilterChain] Running filter TicketsController.filteragencyContext()
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:25:17 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:25:17 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:25:17 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:25:17 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets?shortname=raintree
---
2013/10/17 20:25:17 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:25:17 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:25:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:25:17 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012717, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:25:17 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:25:17 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:17 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:25:17 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:25:17 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:25:17 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:25:17 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:25:17 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:25:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:28:49 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:28:49 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:28:49 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:28:49 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:28:49 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "tickets".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('tickets')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/tickets?shortname=raintree
---
2013/10/17 20:28:49 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:28:49 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:28:49 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:28:49 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012929, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:28:49 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:28:49 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:28:49 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:49 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:28:49 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:28:49 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:28:49 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:28:49 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:28:49 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:28:54 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:28:54 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:28:54 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:28:54 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:28:54 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:28:54 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:28:54 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:28:54 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "tickets/default".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('tickets/default')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/tickets/default?shortname=raintree
---
2013/10/17 20:28:54 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:28:54 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:28:54 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:28:54 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:28:54 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:28:54 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012934, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:28:54 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:28:54 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:28:54 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:28:54 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:28:54 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:28:54 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:28:54 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:28:54 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:28:54 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:28:55 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:28:55 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:28:55 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:28:55 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:28:55 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:28:55 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:29:06 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:29:06 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:29:06 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:29:06 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:29:06 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "tickets".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('tickets')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/tickets
---
2013/10/17 20:29:06 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:29:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:29:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:29:06 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012946, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:29:06 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:29:06 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:29:06 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:29:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:29:06 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:29:06 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:29:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:29:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:29:20 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:29:20 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:29:20 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:29:20 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:29:20 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:29:20 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:29:20 [trace] [system.web.filters.CFilterChain] Running filter DefaultController.filteraccessControl()
2013/10/17 20:29:20 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:29:20 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:29:20 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:29:20 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:29:20 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382012960, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:29:20 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:29:20 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:29:20 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:29:20 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:29:20 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:29:21 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:29:21 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:29:21 [trace] [system.web.filters.CFilterChain] Running filter DefaultController.filterdomainName()
2013/10/17 20:29:21 [trace] [system.web.filters.CFilterChain] Running filter DefaultController.filteragencyContext()
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:29:21 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:29:21 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:29:21 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:29:21 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:29:21 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:29:21 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:33:00 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:33:00 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:33:01 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:33:01 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:33:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:33:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:33:01 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013181, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:33:01 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:33:01 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:01 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:33:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:33:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:33:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:33:01 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:33:01 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:33:16 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:33:16 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:33:16 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:33:16 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:33:16 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:33:16 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:33:16 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:33:16 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:16 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:33:16 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:33:16 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:33:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013196, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:33:16 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:33:16 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:33:16 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:33:16 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:33:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:33:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:17 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:33:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:17 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:33:17 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:33:17 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:33:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:33:17 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:33:17 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:33:17 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:33:17 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:33:23 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:33:23 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:33:23 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:33:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:33:23 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013203, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:33:23 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:33:23 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:23 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:23 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:33:23 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:33:23 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:33:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:33:23 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:33:23 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:33:56 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:33:56 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:33:56 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:33:56 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:33:56 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013236, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:33:56 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:33:56 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:56 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:33:56 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:33:56 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:33:56 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:33:56 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:33:56 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:33:56 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:00 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:00 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:34:00 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:34:00 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:00 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013240, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:00 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:00 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:00 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:34:00 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:34:00 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:00 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:00 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:34:00 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:34:00 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:34:00 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:34:00 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:00 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013240, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:00 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:00 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:00 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:00 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:34:00 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:34:00 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:00 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:34:00 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:00 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:17 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:17 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:17 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:34:17 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:34:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:17 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013257, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:17 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:17 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:17 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:17 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:34:17 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:34:17 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:34:17 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:34:17 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:34:17 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:22 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:22 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:34:22 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:34:22 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:22 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013262, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:22 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:22 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:22 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:22 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:34:22 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:34:22 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:34:22 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:34:22 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:34:22 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:23 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:23 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:34:23 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:34:23 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:34:23 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:34:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:23 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013263, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:23 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:23 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:23 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:23 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:34:23 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:34:23 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:23 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:34:23 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:27 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:27 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:27 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:34:27 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:34:27 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:27 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013267, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:27 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:27 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:27 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:34:27 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:34:27 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:27 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:27 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:34:27 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:34:27 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:34:27 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:34:27 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:27 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013267, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:27 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:27 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:27 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:27 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:34:27 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:34:27 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:27 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:34:27 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:31 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:31 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:31 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:34:31 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:34:31 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:31 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013271, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:31 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:31 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:31 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:34:31 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:34:31 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:31 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:31 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:34:31 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:34:31 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:34:31 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:34:31 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:31 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013271, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:31 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:31 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:31 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:31 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:34:31 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:34:31 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:31 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:34:31 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:34 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:34:34 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:34:34 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:34:34 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:34:34 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:34:34 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013274, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:34:34 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:34:34 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:34 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:34:34 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:34:34 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:34:34 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:34:34 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:34:34 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:34:34 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:35:01 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:35:01 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:35:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:35:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:35:01 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013301, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:35:01 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:35:01 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:01 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:35:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:35:01 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:35:01 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:35:01 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:35:01 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:35:01 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:35:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:35:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:35:01 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013301, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:35:01 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:35:01 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:01 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:35:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:35:01 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:35:01 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:35:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:35:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:35:40 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:35:40 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:35:40 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:35:40 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:35:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:35:40 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013340, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:35:40 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:35:40 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:40 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:35:40 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:35:40 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:35:40 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:35:40 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:35:40 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:35:40 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:35:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:35:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:35:40 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013340, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:35:40 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:35:40 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:40 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:35:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:35:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:35:40 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:35:40 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:35:40 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:35:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:36:25 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:36:25 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:36:25 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:36:25 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:36:25 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:36:25 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013385, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:36:25 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:36:25 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:25 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:25 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:36:25 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:36:25 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:36:25 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:36:25 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:36:25 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:36:25 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:36:25 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:36:26 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:36:26 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:36:26 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:36:26 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:26 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:36:26 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:36:26 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013386, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:36:26 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:36:26 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:36:26 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:26 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:36:26 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:26 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:36:26 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:36:26 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:36:26 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:36:26 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:36:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:36:50 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:36:50 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:36:50 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:36:50 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:36:50 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:36:50 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:36:50 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:36:50 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:50 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:36:50 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:36:50 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013410, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:36:50 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:36:50 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:36:50 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:36:50 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:50 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:36:50 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:50 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:50 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:36:50 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:36:51 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:36:51 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:36:51 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:36:51 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:36:51 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:36:51 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:36:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:36:51 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:36:51 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013411, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:36:51 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:36:51 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:51 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:36:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:36:51 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:36:51 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:36:51 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:36:51 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:36:51 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:06 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:06 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:06 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:06 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:37:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:06 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013426, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:06 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:06 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:06 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:37:06 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:37:06 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:06 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:06 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:37:06 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:37:06 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:37:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:37:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:06 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013426, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:06 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:06 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:06 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:37:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:37:06 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:06 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:37:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:10 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:10 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:10 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:10 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:37:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:10 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013430, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:10 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:10 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:10 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:37:10 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:37:10 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:37:10 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:10 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:10 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:37:10 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/open/shortname/raintree
---
2013/10/17 20:37:10 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:37:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:37:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:10 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013430, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:10 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:10 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:10 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:37:10 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:37:10 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:10 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:37:10 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:10 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:12 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:12 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:12 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:12 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:37:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:12 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013432, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:12 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:12 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:12 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:37:12 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:37:12 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:12 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:12 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:37:12 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:37:12 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:37:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:37:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:12 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013432, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:12 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:12 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:12 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:37:12 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:37:12 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:12 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:37:12 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:12 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:13 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:13 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:13 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:13 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:37:13 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:13 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013433, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:13 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:13 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:13 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:13 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:37:13 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:37:13 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:37:13 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`email`=:yp0 AND `t`.`ticket_number`=:yp1 LIMIT 1. Bound with :yp0='', :yp1=''
2013/10/17 20:37:13 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:37:13 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:14 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:14 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:37:14 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:37:14 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:37:14 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:37:14 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:14 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013434, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:14 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:14 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:14 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:37:14 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:37:14 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:14 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:14 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:14 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:14 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:37:14 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:14 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013434, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:14 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:14 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:14 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:14 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:37:14 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:37:14 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:37:14 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:37:14 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:37:14 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:15 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:15 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:37:15 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/?shortname=raintree
---
2013/10/17 20:37:15 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:37:15 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:37:15 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:15 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013435, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:15 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:15 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:15 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:37:15 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:37:15 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:15 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:15 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:15 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:15 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:37:15 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:15 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013435, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:15 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:15 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:15 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:15 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:37:15 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:37:15 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:37:15 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:37:15 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:37:15 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:15 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:15 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:15 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:37:15 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/open/shortname/raintree
---
2013/10/17 20:37:15 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:37:16 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:37:16 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:16 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:16 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:16 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013436, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:16 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:16 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:16 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:16 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:16 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:16 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:37:16 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:37:16 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:16 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:37:16 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:16 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:29 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:29 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:29 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:29 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:37:29 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:29 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013449, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:29 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:29 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:29 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:37:29 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT MAX(ticket_number) FROM `ticket` WHERE `agency_id` = :agency_id. Bound with :agency_id='4091'
2013/10/17 20:37:29 [trace] [system.db.CDbConnection] Starting transaction
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Ticket.insert()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `ticket` (`agency_id`, `name`, `email`, `mobile`, `type`, `reference`, `subject`, `summary`, `source`, `current_status`, `uuid`, `ticket_number`, `phone`, `create_time`, `update_time`, `closed_by_user_id`, `created_by_user_id`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5, :yp6, :yp7, :yp8, :yp9, :yp10, :yp11, :yp12, NOW(), :yp13, :yp14, :yp15). Bound with :yp0=4091, :yp1='Test 3', :yp2='pohnean@gmail.com', :yp3=NULL, :yp4='Agency', :yp5=NULL, :yp6='adf', :yp7='adf', :yp8='Web', :yp9='Open', :yp10='57786b34-d30a-4dab-ae12-d8ae7130e96f', :yp11=3, :yp12=NULL, :yp13=NULL, :yp14=NULL, :yp15=NULL
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status`
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] TicketStatus.insert()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `ticket_status` (`type`, `ticket_id`, `status_time`) VALUES (:yp0, :yp1, UTC_TIMESTAMP()). Bound with :yp0='Open', :yp1=3
2013/10/17 20:37:29 [trace] [system.db.CDbTransaction] Committing transaction
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.agency
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:29 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:37:29 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:37:29 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:37:29 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:37:29 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "tickets/raintreepublic/index".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('tickets/raintre...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/tickets/raintreepublic/index
HTTP_REFERER=http://draco.propsage.com/tickets/public/open/shortname/raintree
---
2013/10/17 20:37:29 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:37:29 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:37:29 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:37:29 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013449, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:37:29 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:37:29 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:29 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:37:29 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:37:29 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:37:29 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:37:29 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:37:29 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:37:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:01 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:01 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:01 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:01 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013481, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:01 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:01 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:01 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:01 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:01 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:38:01 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:01 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:01 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:01 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/open/shortname/raintree
---
2013/10/17 20:38:01 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:01 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013481, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:01 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:01 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:01 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:01 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:01 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:01 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:01 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:01 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:06 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:06 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:06 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:06 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:06 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013486, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:06 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:06 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:06 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:06 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT MAX(ticket_number) FROM `ticket` WHERE `agency_id` = :agency_id. Bound with :agency_id='4091'
2013/10/17 20:38:06 [trace] [system.db.CDbConnection] Starting transaction
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Ticket.insert()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `ticket` (`agency_id`, `name`, `email`, `mobile`, `type`, `reference`, `subject`, `summary`, `source`, `current_status`, `uuid`, `ticket_number`, `phone`, `create_time`, `update_time`, `closed_by_user_id`, `created_by_user_id`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5, :yp6, :yp7, :yp8, :yp9, :yp10, :yp11, :yp12, NOW(), :yp13, :yp14, :yp15). Bound with :yp0=4091, :yp1='Test 4', :yp2='pohnean@gmail.com', :yp3=NULL, :yp4='Agency', :yp5=NULL, :yp6='adf', :yp7='adf', :yp8='Web', :yp9='Open', :yp10='52001905-c9cc-47a9-a0e2-a39da882ce04', :yp11=4, :yp12=NULL, :yp13=NULL, :yp14=NULL, :yp15=NULL
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status`
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] TicketStatus.insert()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `ticket_status` (`type`, `ticket_id`, `status_time`) VALUES (:yp0, :yp1, UTC_TIMESTAMP()). Bound with :yp0='Open', :yp1=4
2013/10/17 20:38:06 [trace] [system.db.CDbTransaction] Committing transaction
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.agency
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:06 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:06 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:06 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:06 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:06 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "tickets/raintreepublic/index".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('tickets/raintre...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/tickets/raintreepublic/index
HTTP_REFERER=http://draco.propsage.com/tickets/public/open/shortname/raintree
---
2013/10/17 20:38:06 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:06 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013486, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:06 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:06 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:06 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:06 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:06 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:06 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:06 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:06 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:08 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:08 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:08 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:08 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:08 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:08 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013488, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:08 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:08 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:08 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:08 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:08 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:38:08 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:08 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:08 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:08 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/open/shortname/raintree
---
2013/10/17 20:38:08 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:08 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:08 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:08 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013488, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:08 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:08 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:08 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:08 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:08 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:08 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:08 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:08 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:08 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:11 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:11 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:11 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:11 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:11 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:11 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:31 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:31 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:31 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:31 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:31 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:31 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:31 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:31 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:31 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:31 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:31 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:31 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013511, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:31 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:31 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:31 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:32 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:32 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:32 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:38:32 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:32 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:32 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:32 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/open/shortname/raintree
---
2013/10/17 20:38:32 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:32 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:32 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:32 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013512, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:32 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:32 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:32 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:32 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:32 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:32 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:32 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:32 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:32 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:35 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:35 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:35 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:35 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013515, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:35 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:35 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:35 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT MAX(ticket_number) FROM `ticket` WHERE `agency_id` = :agency_id. Bound with :agency_id='4091'
2013/10/17 20:38:35 [trace] [system.db.CDbConnection] Starting transaction
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Ticket.insert()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `ticket` (`agency_id`, `name`, `email`, `mobile`, `type`, `reference`, `subject`, `summary`, `source`, `current_status`, `uuid`, `ticket_number`, `phone`, `create_time`, `update_time`, `closed_by_user_id`, `created_by_user_id`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4, :yp5, :yp6, :yp7, :yp8, :yp9, :yp10, :yp11, :yp12, NOW(), :yp13, :yp14, :yp15). Bound with :yp0=4091, :yp1='Test 6', :yp2='pohnean@gmail.com', :yp3=NULL, :yp4='Agency', :yp5=NULL, :yp6='adf', :yp7='adf', :yp8='Web', :yp9='Open', :yp10='a67770ff-7326-4dd2-8126-32356ad8e153', :yp11=5, :yp12=NULL, :yp13=NULL, :yp14=NULL, :yp15=NULL
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status`
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] TicketStatus.insert()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `ticket_status` (`type`, `ticket_id`, `status_time`) VALUES (:yp0, :yp1, UTC_TIMESTAMP()). Bound with :yp0='Open', :yp1=5
2013/10/17 20:38:35 [trace] [system.db.CDbTransaction] Committing transaction
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.agency
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:35 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:35 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:35 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:35 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013515, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:35 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:35 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:35 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:35 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:35 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:35 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:35 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/index/shortname/raintree
---
2013/10/17 20:38:35 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:35 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013515, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:35 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:35 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:35 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:35 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:35 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:35 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:35 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:42 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:42 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:42 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:42 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:42 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:42 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:42 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:42 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:42 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:42 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:42 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013522, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:42 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:42 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:42 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:42 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:42 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:42 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:42 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:42 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:38:42 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`email`=:yp0 AND `t`.`ticket_number`=:yp1 LIMIT 1. Bound with :yp0='pohnean@gmail.com', :yp1='5'
2013/10/17 20:38:43 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:43 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:43 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:43 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:43 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013523, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:43 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:43 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:43 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:43 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='5', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` ORDER BY is_closing_status ASC
2013/10/17 20:38:43 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t`
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] TicketSource.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_source`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_source`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_source` `t`
2013/10/17 20:38:43 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Ticket.count()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1). Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Ticket.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1) LIMIT 10. Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:38:43 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:43 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:43 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:43 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/list/ticket_number/5/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:38:43 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:43 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013523, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:43 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:43 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:43 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:43 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:43 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:43 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:43 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:43 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:45 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:45 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:45 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:45 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:45 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "tickets/raintreepublic/view/ticket_number/1/email/pohnean@gmail.com".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('tickets/raintre...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/tickets/raintreepublic/view/ticket_number/1/email/pohnean%40gmail.com
HTTP_REFERER=http://draco.propsage.com/tickets/public/list/ticket_number/5/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:38:45 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:45 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:45 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013525, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:45 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:45 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:45 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:45 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:45 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:45 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:45 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:45 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:47 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:47 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:47 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:47 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:47 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:47 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:38:47 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:38:47 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:47 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:47 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:47 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:47 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013527, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:48 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:48 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:48 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:38:48 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='5', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` ORDER BY is_closing_status ASC
2013/10/17 20:38:48 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t`
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] TicketSource.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_source`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_source`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_source` `t`
2013/10/17 20:38:48 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Ticket.count()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1). Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Ticket.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1) LIMIT 10. Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:38:48 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:38:48 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:38:48 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:38:48 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/list/ticket_number/5/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:38:48 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:38:48 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:38:48 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:38:48 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013528, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:38:48 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:38:48 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:48 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:38:48 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:38:48 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:38:48 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:38:48 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:38:48 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:38:48 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:39:29 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:39:29 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:39:29 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:39:29 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:39:29 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:39:29 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013569, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:39:29 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:39:29 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:39:29 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:39:29 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:39:29 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='5', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` ORDER BY is_closing_status ASC
2013/10/17 20:39:29 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t`
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] TicketSource.findAll()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_source`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_source`
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_source` `t`
2013/10/17 20:39:29 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Ticket.count()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1). Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:39:29 [trace] [system.db.ar.CActiveRecord] Ticket.findAll()
2013/10/17 20:39:29 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1) LIMIT 10. Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:39:29 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:39:29 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:39:29 [error] [exception.CException] exception 'CException' with message 'Property "CDataColumn.agency" is not defined.' in /var/www/propsage-tickets/common/framework/1.1.14/base/CComponent.php:130
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/base/CComponent.php(612) : eval()'d code(1): CComponent->__get('agency')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CComponent.php(612): eval()
#2 /var/www/propsage-tickets/common/framework/1.1.14/zii/widgets/grid/CDataColumn.php(137): CComponent->evaluateExpression('CHtml::link("#"...', Array)
#3 /var/www/propsage-tickets/common/framework/1.1.14/zii/widgets/grid/CGridColumn.php(151): CDataColumn->renderDataCellContent(0, Object(Ticket))
#4 /var/www/propsage-tickets/common/widgets/PsGroupGridView.php(194): CGridColumn->renderDataCell(0)
#5 /var/www/propsage-tickets/common/framework/1.1.14/zii/widgets/grid/CGridView.php(572): PsGroupGridView->renderTableRow(0)
#6 /var/www/propsage-tickets/common/widgets/PsGroupGridView.php(40): CGridView->renderTableBody()
#7 /var/www/propsage-tickets/common/framework/1.1.14/zii/widgets/grid/CGridView.php(482): PsGroupGridView->renderTableBody()
#8 /var/www/propsage-tickets/common/framework/1.1.14/zii/widgets/CBaseListView.php(167): CGridView->renderItems()
#9 [internal function]: CBaseListView->renderSection(Array)
#10 /var/www/propsage-tickets/common/framework/1.1.14/zii/widgets/CBaseListView.php(150): preg_replace_callback('/{(\w+)}/', Array, '{items}{pager}{...')
#11 /var/www/propsage-tickets/common/framework/1.1.14/zii/widgets/CBaseListView.php(135): CBaseListView->renderContent()
#12 /var/www/propsage-tickets/common/framework/1.1.14/web/CBaseController.php(173): CBaseListView->run()
#13 /var/www/propsage-tickets/apps/home/modules/tickets_public/views/public/list.php(56): CBaseController->widget('PsGridView', Array)
#14 /var/www/propsage-tickets/common/framework/1.1.14/web/CBaseController.php(126): require('/var/www/propsa...')
#15 /var/www/propsage-tickets/common/framework/1.1.14/web/CBaseController.php(95): CBaseController->renderInternal('/var/www/propsa...', Array, true)
#16 /var/www/propsage-tickets/common/framework/1.1.14/web/CController.php(869): CBaseController->renderFile('/var/www/propsa...', Array, true)
#17 /var/www/propsage-tickets/common/framework/1.1.14/web/CController.php(782): CController->renderPartial('list', Array, true)
#18 /var/www/propsage-tickets/apps/home/modules/tickets_public/controllers/PublicController.php(171): CController->render('list', Array)
#19 [internal function]: PublicController->actionList('5', 'pohnean@gmail.c...')
#20 /var/www/propsage-tickets/common/framework/1.1.14/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(Object(PublicController), Array)
#21 /var/www/propsage-tickets/common/framework/1.1.14/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal(Object(PublicController), Object(ReflectionMethod), Array)
#22 /var/www/propsage-tickets/common/framework/1.1.14/web/CController.php(308): CInlineAction->runWithParams(Array)
#23 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#24 /var/www/propsage-tickets/apps/home/modules/tickets_public/controllers/PublicController.php(40): CFilterChain->run()
#25 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CInlineFilter.php(58): PublicController->filterAgencyContext(Object(CFilterChain))
#26 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#27 /var/www/propsage-tickets/apps/home/components/Controller.php(39): CFilterChain->run()
#28 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CInlineFilter.php(58): Controller->filterDomainName(Object(CFilterChain))
#29 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#30 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CFilter.php(40): CFilterChain->run()
#31 /var/www/propsage-tickets/common/framework/1.1.14/web/CController.php(1145): CFilter->filter(Object(CFilterChain))
#32 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CInlineFilter.php(58): CController->filterAccessControl(Object(CFilterChain))
#33 /var/www/propsage-tickets/common/framework/1.1.14/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#34 /var/www/propsage-tickets/common/framework/1.1.14/web/CController.php(291): CFilterChain->run()
#35 /var/www/propsage-tickets/common/framework/1.1.14/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#36 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(282): CController->run('list')
#37 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('tickets/public/...')
#38 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#39 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#40 {main}
REQUEST_URI=/tickets/public/list/ticket_number/5/email/pohnean%40gmail.com/shortname/raintree
HTTP_REFERER=http://draco.propsage.com/tickets/public/index/shortname/raintree
---
2013/10/17 20:39:29 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:23 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:23 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:23 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:23 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013623, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:23 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:23 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:23 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:23 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:23 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='5', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` ORDER BY is_closing_status ASC
2013/10/17 20:40:23 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t`
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] TicketSource.findAll()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_source`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_source`
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_source` `t`
2013/10/17 20:40:23 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Ticket.count()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1). Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:40:23 [trace] [system.db.ar.CActiveRecord] Ticket.findAll()
2013/10/17 20:40:23 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1) LIMIT 10. Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:40:23 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:40:23 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:24 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:24 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:24 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/list/ticket_number/5/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:40:24 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:40:24 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:24 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013624, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:24 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:24 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:24 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:40:24 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:40:24 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:24 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:40:24 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:24 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:26 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:26 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:26 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:26 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:26 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:26 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:26 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:26 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:26 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:26 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:26 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013626, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:26 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:26 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:26 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:26 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:26 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:26 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:26 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:26 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:27 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='1', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_response`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_response`
2013/10/17 20:40:27 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.createdByUser
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `createdByUser`.`id` AS `t1_c0`, `createdByUser`.`uuid` AS `t1_c1`, `createdByUser`.`username` AS `t1_c2`, `createdByUser`.`password` AS `t1_c3`, `createdByUser`.`name` AS `t1_c4`, `createdByUser`.`display_name` AS `t1_c5`, `createdByUser`.`email` AS `t1_c6`, `createdByUser`.`mobile` AS `t1_c7`, `createdByUser`.`landline` AS `t1_c8`, `createdByUser`.`designation` AS `t1_c9`, `createdByUser`.`gender` AS `t1_c10`, `createdByUser`.`nationality` AS `t1_c11`, `createdByUser`.`religion` AS `t1_c12`, `createdByUser`.`religion_other` AS `t1_c13`, `createdByUser`.`highest_qualification` AS `t1_c14`, `createdByUser`.`highest_qualification_other` AS `t1_c15`, `createdByUser`.`industry_exam_passed` AS `t1_c16`, `createdByUser`.`marital` AS `t1_c17`, `createdByUser`.`birthday` AS `t1_c18`, `createdByUser`.`block` AS `t1_c19`, `createdByUser`.`street` AS `t1_c20`, `createdByUser`.`floor` AS `t1_c21`, `createdByUser`.`unit` AS `t1_c22`, `createdByUser`.`country_code` AS `t1_c23`, `createdByUser`.`address_formatted` AS `t1_c24`, `createdByUser`.`postcode` AS `t1_c25`, `createdByUser`.`language` AS `t1_c26`, `createdByUser`.`bank_name` AS `t1_c27`, `createdByUser`.`bank_code` AS `t1_c28`, `createdByUser`.`bank_branch` AS `t1_c29`, `createdByUser`.`bank_branch_code` AS `t1_c30`, `createdByUser`.`bank_account_name` AS `t1_c31`, `createdByUser`.`bank_account_no` AS `t1_c32`, `createdByUser`.`bank_owner_address` AS `t1_c33`, `createdByUser`.`imported_data` AS `t1_c34`, `createdByUser`.`previous_system_user_id` AS `t1_c35`, `createdByUser`.`previous_system_username` AS `t1_c36`, `createdByUser`.`bank_owner_contact` AS `t1_c37`, `createdByUser`.`credits` AS `t1_c38`, `createdByUser`.`credit_expiry_date` AS `t1_c39`, `createdByUser`.`referrer_user_id` AS `t1_c40`, `createdByUser`.`recommender_user_id` AS `t1_c41`, `createdByUser`.`custom_data` AS `t1_c42`, `createdByUser`.`show_welcome` AS `t1_c43`, `createdByUser`.`photo` AS `t1_c44`, `createdByUser`.`photo_user_file_id` AS `t1_c45`, `createdByUser`.`nric` AS `t1_c46`, `createdByUser`.`license_no` AS `t1_c47`, `createdByUser`.`license_expiry_date` AS `t1_c48`, `createdByUser`.`license_fee_deduction_date` AS `t1_c49`, `createdByUser`.`join_date` AS `t1_c50`, `createdByUser`.`left_date` AS `t1_c51`, `createdByUser`.`activkey` AS `t1_c52`, `createdByUser`.`status` AS `t1_c53`, `createdByUser`.`mobile_authtoken` AS `t1_c54`, `createdByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `createdByUser`.`mobile_verification_status` AS `t1_c56`, `createdByUser`.`mobile_verification_time` AS `t1_c57`, `createdByUser`.`activate_date` AS `t1_c58`, `createdByUser`.`digesta1` AS `t1_c59`, `createdByUser`.`last_login` AS `t1_c60`, `createdByUser`.`version` AS `t1_c61`, `createdByUser`.`settings` AS `t1_c62`, `createdByUser`.`create_time` AS `t1_c63`, `createdByUser`.`update_time` AS `t1_c64`, `createdByUser`.`agency_id` AS `t1_c65`, `createdByUser`.`vendor_id` AS `t1_c66`, `createdByUser`.`agency_team_id` AS `t1_c67`, `createdByUser`.`party_id` AS `t1_c68`, `createdByUser`.`upline_user_id` AS `t1_c69`, `createdByUser`.`upline_root_id` AS `t1_c70`, `createdByUser`.`lft` AS `t1_c71`, `createdByUser`.`rgt` AS `t1_c72`, `createdByUser`.`level` AS `t1_c73` FROM `user` `createdByUser`  WHERE (`createdByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.closedByUser
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `closedByUser`.`id` AS `t1_c0`, `closedByUser`.`uuid` AS `t1_c1`, `closedByUser`.`username` AS `t1_c2`, `closedByUser`.`password` AS `t1_c3`, `closedByUser`.`name` AS `t1_c4`, `closedByUser`.`display_name` AS `t1_c5`, `closedByUser`.`email` AS `t1_c6`, `closedByUser`.`mobile` AS `t1_c7`, `closedByUser`.`landline` AS `t1_c8`, `closedByUser`.`designation` AS `t1_c9`, `closedByUser`.`gender` AS `t1_c10`, `closedByUser`.`nationality` AS `t1_c11`, `closedByUser`.`religion` AS `t1_c12`, `closedByUser`.`religion_other` AS `t1_c13`, `closedByUser`.`highest_qualification` AS `t1_c14`, `closedByUser`.`highest_qualification_other` AS `t1_c15`, `closedByUser`.`industry_exam_passed` AS `t1_c16`, `closedByUser`.`marital` AS `t1_c17`, `closedByUser`.`birthday` AS `t1_c18`, `closedByUser`.`block` AS `t1_c19`, `closedByUser`.`street` AS `t1_c20`, `closedByUser`.`floor` AS `t1_c21`, `closedByUser`.`unit` AS `t1_c22`, `closedByUser`.`country_code` AS `t1_c23`, `closedByUser`.`address_formatted` AS `t1_c24`, `closedByUser`.`postcode` AS `t1_c25`, `closedByUser`.`language` AS `t1_c26`, `closedByUser`.`bank_name` AS `t1_c27`, `closedByUser`.`bank_code` AS `t1_c28`, `closedByUser`.`bank_branch` AS `t1_c29`, `closedByUser`.`bank_branch_code` AS `t1_c30`, `closedByUser`.`bank_account_name` AS `t1_c31`, `closedByUser`.`bank_account_no` AS `t1_c32`, `closedByUser`.`bank_owner_address` AS `t1_c33`, `closedByUser`.`imported_data` AS `t1_c34`, `closedByUser`.`previous_system_user_id` AS `t1_c35`, `closedByUser`.`previous_system_username` AS `t1_c36`, `closedByUser`.`bank_owner_contact` AS `t1_c37`, `closedByUser`.`credits` AS `t1_c38`, `closedByUser`.`credit_expiry_date` AS `t1_c39`, `closedByUser`.`referrer_user_id` AS `t1_c40`, `closedByUser`.`recommender_user_id` AS `t1_c41`, `closedByUser`.`custom_data` AS `t1_c42`, `closedByUser`.`show_welcome` AS `t1_c43`, `closedByUser`.`photo` AS `t1_c44`, `closedByUser`.`photo_user_file_id` AS `t1_c45`, `closedByUser`.`nric` AS `t1_c46`, `closedByUser`.`license_no` AS `t1_c47`, `closedByUser`.`license_expiry_date` AS `t1_c48`, `closedByUser`.`license_fee_deduction_date` AS `t1_c49`, `closedByUser`.`join_date` AS `t1_c50`, `closedByUser`.`left_date` AS `t1_c51`, `closedByUser`.`activkey` AS `t1_c52`, `closedByUser`.`status` AS `t1_c53`, `closedByUser`.`mobile_authtoken` AS `t1_c54`, `closedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `closedByUser`.`mobile_verification_status` AS `t1_c56`, `closedByUser`.`mobile_verification_time` AS `t1_c57`, `closedByUser`.`activate_date` AS `t1_c58`, `closedByUser`.`digesta1` AS `t1_c59`, `closedByUser`.`last_login` AS `t1_c60`, `closedByUser`.`version` AS `t1_c61`, `closedByUser`.`settings` AS `t1_c62`, `closedByUser`.`create_time` AS `t1_c63`, `closedByUser`.`update_time` AS `t1_c64`, `closedByUser`.`agency_id` AS `t1_c65`, `closedByUser`.`vendor_id` AS `t1_c66`, `closedByUser`.`agency_team_id` AS `t1_c67`, `closedByUser`.`party_id` AS `t1_c68`, `closedByUser`.`upline_user_id` AS `t1_c69`, `closedByUser`.`upline_root_id` AS `t1_c70`, `closedByUser`.`lft` AS `t1_c71`, `closedByUser`.`rgt` AS `t1_c72`, `closedByUser`.`level` AS `t1_c73` FROM `user` `closedByUser`  WHERE (`closedByUser`.`id`=:ypl0). Bound with :ypl0=NULL
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.currentStatus
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `currentStatus`.`code` AS `t1_c0`, `currentStatus`.`is_closing_status` AS `t1_c1` FROM `ticket_status_type` `currentStatus`  WHERE (`currentStatus`.`code`=:ypl0). Bound with :ypl0='Open'
2013/10/17 20:40:27 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketResponses
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketResponses`.`id` AS `t1_c0`, `ticketResponses`.`ticket_id` AS `t1_c1`, `ticketResponses`.`responded_by_email` AS `t1_c2`, `ticketResponses`.`responded_by_user_id` AS `t1_c3`, `ticketResponses`.`response_time` AS `t1_c4`, `ticketResponses`.`message` AS `t1_c5`, `ticketResponses`.`agency_id` AS `t1_c6` FROM `ticket_response` `ticketResponses`  WHERE (`ticketResponses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading TicketResponse.respondedByUser
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `respondedByUser`.`id` AS `t1_c0`, `respondedByUser`.`uuid` AS `t1_c1`, `respondedByUser`.`username` AS `t1_c2`, `respondedByUser`.`password` AS `t1_c3`, `respondedByUser`.`name` AS `t1_c4`, `respondedByUser`.`display_name` AS `t1_c5`, `respondedByUser`.`email` AS `t1_c6`, `respondedByUser`.`mobile` AS `t1_c7`, `respondedByUser`.`landline` AS `t1_c8`, `respondedByUser`.`designation` AS `t1_c9`, `respondedByUser`.`gender` AS `t1_c10`, `respondedByUser`.`nationality` AS `t1_c11`, `respondedByUser`.`religion` AS `t1_c12`, `respondedByUser`.`religion_other` AS `t1_c13`, `respondedByUser`.`highest_qualification` AS `t1_c14`, `respondedByUser`.`highest_qualification_other` AS `t1_c15`, `respondedByUser`.`industry_exam_passed` AS `t1_c16`, `respondedByUser`.`marital` AS `t1_c17`, `respondedByUser`.`birthday` AS `t1_c18`, `respondedByUser`.`block` AS `t1_c19`, `respondedByUser`.`street` AS `t1_c20`, `respondedByUser`.`floor` AS `t1_c21`, `respondedByUser`.`unit` AS `t1_c22`, `respondedByUser`.`country_code` AS `t1_c23`, `respondedByUser`.`address_formatted` AS `t1_c24`, `respondedByUser`.`postcode` AS `t1_c25`, `respondedByUser`.`language` AS `t1_c26`, `respondedByUser`.`bank_name` AS `t1_c27`, `respondedByUser`.`bank_code` AS `t1_c28`, `respondedByUser`.`bank_branch` AS `t1_c29`, `respondedByUser`.`bank_branch_code` AS `t1_c30`, `respondedByUser`.`bank_account_name` AS `t1_c31`, `respondedByUser`.`bank_account_no` AS `t1_c32`, `respondedByUser`.`bank_owner_address` AS `t1_c33`, `respondedByUser`.`imported_data` AS `t1_c34`, `respondedByUser`.`previous_system_user_id` AS `t1_c35`, `respondedByUser`.`previous_system_username` AS `t1_c36`, `respondedByUser`.`bank_owner_contact` AS `t1_c37`, `respondedByUser`.`credits` AS `t1_c38`, `respondedByUser`.`credit_expiry_date` AS `t1_c39`, `respondedByUser`.`referrer_user_id` AS `t1_c40`, `respondedByUser`.`recommender_user_id` AS `t1_c41`, `respondedByUser`.`custom_data` AS `t1_c42`, `respondedByUser`.`show_welcome` AS `t1_c43`, `respondedByUser`.`photo` AS `t1_c44`, `respondedByUser`.`photo_user_file_id` AS `t1_c45`, `respondedByUser`.`nric` AS `t1_c46`, `respondedByUser`.`license_no` AS `t1_c47`, `respondedByUser`.`license_expiry_date` AS `t1_c48`, `respondedByUser`.`license_fee_deduction_date` AS `t1_c49`, `respondedByUser`.`join_date` AS `t1_c50`, `respondedByUser`.`left_date` AS `t1_c51`, `respondedByUser`.`activkey` AS `t1_c52`, `respondedByUser`.`status` AS `t1_c53`, `respondedByUser`.`mobile_authtoken` AS `t1_c54`, `respondedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `respondedByUser`.`mobile_verification_status` AS `t1_c56`, `respondedByUser`.`mobile_verification_time` AS `t1_c57`, `respondedByUser`.`activate_date` AS `t1_c58`, `respondedByUser`.`digesta1` AS `t1_c59`, `respondedByUser`.`last_login` AS `t1_c60`, `respondedByUser`.`version` AS `t1_c61`, `respondedByUser`.`settings` AS `t1_c62`, `respondedByUser`.`create_time` AS `t1_c63`, `respondedByUser`.`update_time` AS `t1_c64`, `respondedByUser`.`agency_id` AS `t1_c65`, `respondedByUser`.`vendor_id` AS `t1_c66`, `respondedByUser`.`agency_team_id` AS `t1_c67`, `respondedByUser`.`party_id` AS `t1_c68`, `respondedByUser`.`upline_user_id` AS `t1_c69`, `respondedByUser`.`upline_root_id` AS `t1_c70`, `respondedByUser`.`lft` AS `t1_c71`, `respondedByUser`.`rgt` AS `t1_c72`, `respondedByUser`.`level` AS `t1_c73` FROM `user` `respondedByUser`  WHERE (`respondedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAllByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` WHERE `t`.`is_closing_status`=:yp0. Bound with :yp0=1
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketStatuses
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketStatuses`.`id` AS `t1_c0`, `ticketStatuses`.`ticket_id` AS `t1_c1`, `ticketStatuses`.`status_time` AS `t1_c2`, `ticketStatuses`.`type` AS `t1_c3`, `ticketStatuses`.`changed_by_user_id` AS `t1_c4` FROM `ticket_status` `ticketStatuses`  WHERE (`ticketStatuses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading TicketStatus.changedByUser
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `changedByUser`.`id` AS `t1_c0`, `changedByUser`.`uuid` AS `t1_c1`, `changedByUser`.`username` AS `t1_c2`, `changedByUser`.`password` AS `t1_c3`, `changedByUser`.`name` AS `t1_c4`, `changedByUser`.`display_name` AS `t1_c5`, `changedByUser`.`email` AS `t1_c6`, `changedByUser`.`mobile` AS `t1_c7`, `changedByUser`.`landline` AS `t1_c8`, `changedByUser`.`designation` AS `t1_c9`, `changedByUser`.`gender` AS `t1_c10`, `changedByUser`.`nationality` AS `t1_c11`, `changedByUser`.`religion` AS `t1_c12`, `changedByUser`.`religion_other` AS `t1_c13`, `changedByUser`.`highest_qualification` AS `t1_c14`, `changedByUser`.`highest_qualification_other` AS `t1_c15`, `changedByUser`.`industry_exam_passed` AS `t1_c16`, `changedByUser`.`marital` AS `t1_c17`, `changedByUser`.`birthday` AS `t1_c18`, `changedByUser`.`block` AS `t1_c19`, `changedByUser`.`street` AS `t1_c20`, `changedByUser`.`floor` AS `t1_c21`, `changedByUser`.`unit` AS `t1_c22`, `changedByUser`.`country_code` AS `t1_c23`, `changedByUser`.`address_formatted` AS `t1_c24`, `changedByUser`.`postcode` AS `t1_c25`, `changedByUser`.`language` AS `t1_c26`, `changedByUser`.`bank_name` AS `t1_c27`, `changedByUser`.`bank_code` AS `t1_c28`, `changedByUser`.`bank_branch` AS `t1_c29`, `changedByUser`.`bank_branch_code` AS `t1_c30`, `changedByUser`.`bank_account_name` AS `t1_c31`, `changedByUser`.`bank_account_no` AS `t1_c32`, `changedByUser`.`bank_owner_address` AS `t1_c33`, `changedByUser`.`imported_data` AS `t1_c34`, `changedByUser`.`previous_system_user_id` AS `t1_c35`, `changedByUser`.`previous_system_username` AS `t1_c36`, `changedByUser`.`bank_owner_contact` AS `t1_c37`, `changedByUser`.`credits` AS `t1_c38`, `changedByUser`.`credit_expiry_date` AS `t1_c39`, `changedByUser`.`referrer_user_id` AS `t1_c40`, `changedByUser`.`recommender_user_id` AS `t1_c41`, `changedByUser`.`custom_data` AS `t1_c42`, `changedByUser`.`show_welcome` AS `t1_c43`, `changedByUser`.`photo` AS `t1_c44`, `changedByUser`.`photo_user_file_id` AS `t1_c45`, `changedByUser`.`nric` AS `t1_c46`, `changedByUser`.`license_no` AS `t1_c47`, `changedByUser`.`license_expiry_date` AS `t1_c48`, `changedByUser`.`license_fee_deduction_date` AS `t1_c49`, `changedByUser`.`join_date` AS `t1_c50`, `changedByUser`.`left_date` AS `t1_c51`, `changedByUser`.`activkey` AS `t1_c52`, `changedByUser`.`status` AS `t1_c53`, `changedByUser`.`mobile_authtoken` AS `t1_c54`, `changedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `changedByUser`.`mobile_verification_status` AS `t1_c56`, `changedByUser`.`mobile_verification_time` AS `t1_c57`, `changedByUser`.`activate_date` AS `t1_c58`, `changedByUser`.`digesta1` AS `t1_c59`, `changedByUser`.`last_login` AS `t1_c60`, `changedByUser`.`version` AS `t1_c61`, `changedByUser`.`settings` AS `t1_c62`, `changedByUser`.`create_time` AS `t1_c63`, `changedByUser`.`update_time` AS `t1_c64`, `changedByUser`.`agency_id` AS `t1_c65`, `changedByUser`.`vendor_id` AS `t1_c66`, `changedByUser`.`agency_team_id` AS `t1_c67`, `changedByUser`.`party_id` AS `t1_c68`, `changedByUser`.`upline_user_id` AS `t1_c69`, `changedByUser`.`upline_root_id` AS `t1_c70`, `changedByUser`.`lft` AS `t1_c71`, `changedByUser`.`rgt` AS `t1_c72`, `changedByUser`.`level` AS `t1_c73` FROM `user` `changedByUser`  WHERE (`changedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.escalations
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `escalation`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `escalation`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `escalations`.`id` AS `t1_c0`, `escalations`.`ticket_id` AS `t1_c1`, `escalations`.`escalation_level` AS `t1_c2`, `escalations`.`escalation_time` AS `t1_c3`, `escalations`.`escalated_to_user_id` AS `t1_c4`, `escalations`.`escalated_by_user_id` AS `t1_c5` FROM `escalation` `escalations`  WHERE (`escalations`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:27 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:27 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:27 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:27 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/view/ticket_number/1/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:40:27 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:27 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:40:27 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:27 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013627, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:27 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:27 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:27 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:27 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:40:27 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:40:27 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:27 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:40:27 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:27 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:35 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:35 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:35 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:35 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013635, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:35 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:35 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:35 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='1', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_response`
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_response`
2013/10/17 20:40:35 [trace] [system.db.CDbConnection] Starting transaction
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] TicketResponse.insert()
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Executing SQL: INSERT INTO `ticket_response` (`ticket_id`, `agency_id`, `responded_by_email`, `response_time`, `message`, `responded_by_user_id`) VALUES (:yp0, :yp1, :yp2, UTC_TIMESTAMP(), :yp3, :yp4). Bound with :yp0=1, :yp1=4091, :yp2='pohnean@gmail.com', :yp3='adf', :yp4=NULL
2013/10/17 20:40:35 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.agency
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:35 [trace] [system.db.CDbTransaction] Committing transaction
2013/10/17 20:40:35 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:35 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:35 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:35 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:35 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:35 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:35 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013635, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:35 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:35 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:35 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:36 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:36 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='1', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_response`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_response`
2013/10/17 20:40:36 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.createdByUser
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `createdByUser`.`id` AS `t1_c0`, `createdByUser`.`uuid` AS `t1_c1`, `createdByUser`.`username` AS `t1_c2`, `createdByUser`.`password` AS `t1_c3`, `createdByUser`.`name` AS `t1_c4`, `createdByUser`.`display_name` AS `t1_c5`, `createdByUser`.`email` AS `t1_c6`, `createdByUser`.`mobile` AS `t1_c7`, `createdByUser`.`landline` AS `t1_c8`, `createdByUser`.`designation` AS `t1_c9`, `createdByUser`.`gender` AS `t1_c10`, `createdByUser`.`nationality` AS `t1_c11`, `createdByUser`.`religion` AS `t1_c12`, `createdByUser`.`religion_other` AS `t1_c13`, `createdByUser`.`highest_qualification` AS `t1_c14`, `createdByUser`.`highest_qualification_other` AS `t1_c15`, `createdByUser`.`industry_exam_passed` AS `t1_c16`, `createdByUser`.`marital` AS `t1_c17`, `createdByUser`.`birthday` AS `t1_c18`, `createdByUser`.`block` AS `t1_c19`, `createdByUser`.`street` AS `t1_c20`, `createdByUser`.`floor` AS `t1_c21`, `createdByUser`.`unit` AS `t1_c22`, `createdByUser`.`country_code` AS `t1_c23`, `createdByUser`.`address_formatted` AS `t1_c24`, `createdByUser`.`postcode` AS `t1_c25`, `createdByUser`.`language` AS `t1_c26`, `createdByUser`.`bank_name` AS `t1_c27`, `createdByUser`.`bank_code` AS `t1_c28`, `createdByUser`.`bank_branch` AS `t1_c29`, `createdByUser`.`bank_branch_code` AS `t1_c30`, `createdByUser`.`bank_account_name` AS `t1_c31`, `createdByUser`.`bank_account_no` AS `t1_c32`, `createdByUser`.`bank_owner_address` AS `t1_c33`, `createdByUser`.`imported_data` AS `t1_c34`, `createdByUser`.`previous_system_user_id` AS `t1_c35`, `createdByUser`.`previous_system_username` AS `t1_c36`, `createdByUser`.`bank_owner_contact` AS `t1_c37`, `createdByUser`.`credits` AS `t1_c38`, `createdByUser`.`credit_expiry_date` AS `t1_c39`, `createdByUser`.`referrer_user_id` AS `t1_c40`, `createdByUser`.`recommender_user_id` AS `t1_c41`, `createdByUser`.`custom_data` AS `t1_c42`, `createdByUser`.`show_welcome` AS `t1_c43`, `createdByUser`.`photo` AS `t1_c44`, `createdByUser`.`photo_user_file_id` AS `t1_c45`, `createdByUser`.`nric` AS `t1_c46`, `createdByUser`.`license_no` AS `t1_c47`, `createdByUser`.`license_expiry_date` AS `t1_c48`, `createdByUser`.`license_fee_deduction_date` AS `t1_c49`, `createdByUser`.`join_date` AS `t1_c50`, `createdByUser`.`left_date` AS `t1_c51`, `createdByUser`.`activkey` AS `t1_c52`, `createdByUser`.`status` AS `t1_c53`, `createdByUser`.`mobile_authtoken` AS `t1_c54`, `createdByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `createdByUser`.`mobile_verification_status` AS `t1_c56`, `createdByUser`.`mobile_verification_time` AS `t1_c57`, `createdByUser`.`activate_date` AS `t1_c58`, `createdByUser`.`digesta1` AS `t1_c59`, `createdByUser`.`last_login` AS `t1_c60`, `createdByUser`.`version` AS `t1_c61`, `createdByUser`.`settings` AS `t1_c62`, `createdByUser`.`create_time` AS `t1_c63`, `createdByUser`.`update_time` AS `t1_c64`, `createdByUser`.`agency_id` AS `t1_c65`, `createdByUser`.`vendor_id` AS `t1_c66`, `createdByUser`.`agency_team_id` AS `t1_c67`, `createdByUser`.`party_id` AS `t1_c68`, `createdByUser`.`upline_user_id` AS `t1_c69`, `createdByUser`.`upline_root_id` AS `t1_c70`, `createdByUser`.`lft` AS `t1_c71`, `createdByUser`.`rgt` AS `t1_c72`, `createdByUser`.`level` AS `t1_c73` FROM `user` `createdByUser`  WHERE (`createdByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.closedByUser
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `closedByUser`.`id` AS `t1_c0`, `closedByUser`.`uuid` AS `t1_c1`, `closedByUser`.`username` AS `t1_c2`, `closedByUser`.`password` AS `t1_c3`, `closedByUser`.`name` AS `t1_c4`, `closedByUser`.`display_name` AS `t1_c5`, `closedByUser`.`email` AS `t1_c6`, `closedByUser`.`mobile` AS `t1_c7`, `closedByUser`.`landline` AS `t1_c8`, `closedByUser`.`designation` AS `t1_c9`, `closedByUser`.`gender` AS `t1_c10`, `closedByUser`.`nationality` AS `t1_c11`, `closedByUser`.`religion` AS `t1_c12`, `closedByUser`.`religion_other` AS `t1_c13`, `closedByUser`.`highest_qualification` AS `t1_c14`, `closedByUser`.`highest_qualification_other` AS `t1_c15`, `closedByUser`.`industry_exam_passed` AS `t1_c16`, `closedByUser`.`marital` AS `t1_c17`, `closedByUser`.`birthday` AS `t1_c18`, `closedByUser`.`block` AS `t1_c19`, `closedByUser`.`street` AS `t1_c20`, `closedByUser`.`floor` AS `t1_c21`, `closedByUser`.`unit` AS `t1_c22`, `closedByUser`.`country_code` AS `t1_c23`, `closedByUser`.`address_formatted` AS `t1_c24`, `closedByUser`.`postcode` AS `t1_c25`, `closedByUser`.`language` AS `t1_c26`, `closedByUser`.`bank_name` AS `t1_c27`, `closedByUser`.`bank_code` AS `t1_c28`, `closedByUser`.`bank_branch` AS `t1_c29`, `closedByUser`.`bank_branch_code` AS `t1_c30`, `closedByUser`.`bank_account_name` AS `t1_c31`, `closedByUser`.`bank_account_no` AS `t1_c32`, `closedByUser`.`bank_owner_address` AS `t1_c33`, `closedByUser`.`imported_data` AS `t1_c34`, `closedByUser`.`previous_system_user_id` AS `t1_c35`, `closedByUser`.`previous_system_username` AS `t1_c36`, `closedByUser`.`bank_owner_contact` AS `t1_c37`, `closedByUser`.`credits` AS `t1_c38`, `closedByUser`.`credit_expiry_date` AS `t1_c39`, `closedByUser`.`referrer_user_id` AS `t1_c40`, `closedByUser`.`recommender_user_id` AS `t1_c41`, `closedByUser`.`custom_data` AS `t1_c42`, `closedByUser`.`show_welcome` AS `t1_c43`, `closedByUser`.`photo` AS `t1_c44`, `closedByUser`.`photo_user_file_id` AS `t1_c45`, `closedByUser`.`nric` AS `t1_c46`, `closedByUser`.`license_no` AS `t1_c47`, `closedByUser`.`license_expiry_date` AS `t1_c48`, `closedByUser`.`license_fee_deduction_date` AS `t1_c49`, `closedByUser`.`join_date` AS `t1_c50`, `closedByUser`.`left_date` AS `t1_c51`, `closedByUser`.`activkey` AS `t1_c52`, `closedByUser`.`status` AS `t1_c53`, `closedByUser`.`mobile_authtoken` AS `t1_c54`, `closedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `closedByUser`.`mobile_verification_status` AS `t1_c56`, `closedByUser`.`mobile_verification_time` AS `t1_c57`, `closedByUser`.`activate_date` AS `t1_c58`, `closedByUser`.`digesta1` AS `t1_c59`, `closedByUser`.`last_login` AS `t1_c60`, `closedByUser`.`version` AS `t1_c61`, `closedByUser`.`settings` AS `t1_c62`, `closedByUser`.`create_time` AS `t1_c63`, `closedByUser`.`update_time` AS `t1_c64`, `closedByUser`.`agency_id` AS `t1_c65`, `closedByUser`.`vendor_id` AS `t1_c66`, `closedByUser`.`agency_team_id` AS `t1_c67`, `closedByUser`.`party_id` AS `t1_c68`, `closedByUser`.`upline_user_id` AS `t1_c69`, `closedByUser`.`upline_root_id` AS `t1_c70`, `closedByUser`.`lft` AS `t1_c71`, `closedByUser`.`rgt` AS `t1_c72`, `closedByUser`.`level` AS `t1_c73` FROM `user` `closedByUser`  WHERE (`closedByUser`.`id`=:ypl0). Bound with :ypl0=NULL
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.currentStatus
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `currentStatus`.`code` AS `t1_c0`, `currentStatus`.`is_closing_status` AS `t1_c1` FROM `ticket_status_type` `currentStatus`  WHERE (`currentStatus`.`code`=:ypl0). Bound with :ypl0='Open'
2013/10/17 20:40:36 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketResponses
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketResponses`.`id` AS `t1_c0`, `ticketResponses`.`ticket_id` AS `t1_c1`, `ticketResponses`.`responded_by_email` AS `t1_c2`, `ticketResponses`.`responded_by_user_id` AS `t1_c3`, `ticketResponses`.`response_time` AS `t1_c4`, `ticketResponses`.`message` AS `t1_c5`, `ticketResponses`.`agency_id` AS `t1_c6` FROM `ticket_response` `ticketResponses`  WHERE (`ticketResponses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading TicketResponse.respondedByUser
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `respondedByUser`.`id` AS `t1_c0`, `respondedByUser`.`uuid` AS `t1_c1`, `respondedByUser`.`username` AS `t1_c2`, `respondedByUser`.`password` AS `t1_c3`, `respondedByUser`.`name` AS `t1_c4`, `respondedByUser`.`display_name` AS `t1_c5`, `respondedByUser`.`email` AS `t1_c6`, `respondedByUser`.`mobile` AS `t1_c7`, `respondedByUser`.`landline` AS `t1_c8`, `respondedByUser`.`designation` AS `t1_c9`, `respondedByUser`.`gender` AS `t1_c10`, `respondedByUser`.`nationality` AS `t1_c11`, `respondedByUser`.`religion` AS `t1_c12`, `respondedByUser`.`religion_other` AS `t1_c13`, `respondedByUser`.`highest_qualification` AS `t1_c14`, `respondedByUser`.`highest_qualification_other` AS `t1_c15`, `respondedByUser`.`industry_exam_passed` AS `t1_c16`, `respondedByUser`.`marital` AS `t1_c17`, `respondedByUser`.`birthday` AS `t1_c18`, `respondedByUser`.`block` AS `t1_c19`, `respondedByUser`.`street` AS `t1_c20`, `respondedByUser`.`floor` AS `t1_c21`, `respondedByUser`.`unit` AS `t1_c22`, `respondedByUser`.`country_code` AS `t1_c23`, `respondedByUser`.`address_formatted` AS `t1_c24`, `respondedByUser`.`postcode` AS `t1_c25`, `respondedByUser`.`language` AS `t1_c26`, `respondedByUser`.`bank_name` AS `t1_c27`, `respondedByUser`.`bank_code` AS `t1_c28`, `respondedByUser`.`bank_branch` AS `t1_c29`, `respondedByUser`.`bank_branch_code` AS `t1_c30`, `respondedByUser`.`bank_account_name` AS `t1_c31`, `respondedByUser`.`bank_account_no` AS `t1_c32`, `respondedByUser`.`bank_owner_address` AS `t1_c33`, `respondedByUser`.`imported_data` AS `t1_c34`, `respondedByUser`.`previous_system_user_id` AS `t1_c35`, `respondedByUser`.`previous_system_username` AS `t1_c36`, `respondedByUser`.`bank_owner_contact` AS `t1_c37`, `respondedByUser`.`credits` AS `t1_c38`, `respondedByUser`.`credit_expiry_date` AS `t1_c39`, `respondedByUser`.`referrer_user_id` AS `t1_c40`, `respondedByUser`.`recommender_user_id` AS `t1_c41`, `respondedByUser`.`custom_data` AS `t1_c42`, `respondedByUser`.`show_welcome` AS `t1_c43`, `respondedByUser`.`photo` AS `t1_c44`, `respondedByUser`.`photo_user_file_id` AS `t1_c45`, `respondedByUser`.`nric` AS `t1_c46`, `respondedByUser`.`license_no` AS `t1_c47`, `respondedByUser`.`license_expiry_date` AS `t1_c48`, `respondedByUser`.`license_fee_deduction_date` AS `t1_c49`, `respondedByUser`.`join_date` AS `t1_c50`, `respondedByUser`.`left_date` AS `t1_c51`, `respondedByUser`.`activkey` AS `t1_c52`, `respondedByUser`.`status` AS `t1_c53`, `respondedByUser`.`mobile_authtoken` AS `t1_c54`, `respondedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `respondedByUser`.`mobile_verification_status` AS `t1_c56`, `respondedByUser`.`mobile_verification_time` AS `t1_c57`, `respondedByUser`.`activate_date` AS `t1_c58`, `respondedByUser`.`digesta1` AS `t1_c59`, `respondedByUser`.`last_login` AS `t1_c60`, `respondedByUser`.`version` AS `t1_c61`, `respondedByUser`.`settings` AS `t1_c62`, `respondedByUser`.`create_time` AS `t1_c63`, `respondedByUser`.`update_time` AS `t1_c64`, `respondedByUser`.`agency_id` AS `t1_c65`, `respondedByUser`.`vendor_id` AS `t1_c66`, `respondedByUser`.`agency_team_id` AS `t1_c67`, `respondedByUser`.`party_id` AS `t1_c68`, `respondedByUser`.`upline_user_id` AS `t1_c69`, `respondedByUser`.`upline_root_id` AS `t1_c70`, `respondedByUser`.`lft` AS `t1_c71`, `respondedByUser`.`rgt` AS `t1_c72`, `respondedByUser`.`level` AS `t1_c73` FROM `user` `respondedByUser`  WHERE (`respondedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAllByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` WHERE `t`.`is_closing_status`=:yp0. Bound with :yp0=1
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketStatuses
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketStatuses`.`id` AS `t1_c0`, `ticketStatuses`.`ticket_id` AS `t1_c1`, `ticketStatuses`.`status_time` AS `t1_c2`, `ticketStatuses`.`type` AS `t1_c3`, `ticketStatuses`.`changed_by_user_id` AS `t1_c4` FROM `ticket_status` `ticketStatuses`  WHERE (`ticketStatuses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading TicketStatus.changedByUser
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `changedByUser`.`id` AS `t1_c0`, `changedByUser`.`uuid` AS `t1_c1`, `changedByUser`.`username` AS `t1_c2`, `changedByUser`.`password` AS `t1_c3`, `changedByUser`.`name` AS `t1_c4`, `changedByUser`.`display_name` AS `t1_c5`, `changedByUser`.`email` AS `t1_c6`, `changedByUser`.`mobile` AS `t1_c7`, `changedByUser`.`landline` AS `t1_c8`, `changedByUser`.`designation` AS `t1_c9`, `changedByUser`.`gender` AS `t1_c10`, `changedByUser`.`nationality` AS `t1_c11`, `changedByUser`.`religion` AS `t1_c12`, `changedByUser`.`religion_other` AS `t1_c13`, `changedByUser`.`highest_qualification` AS `t1_c14`, `changedByUser`.`highest_qualification_other` AS `t1_c15`, `changedByUser`.`industry_exam_passed` AS `t1_c16`, `changedByUser`.`marital` AS `t1_c17`, `changedByUser`.`birthday` AS `t1_c18`, `changedByUser`.`block` AS `t1_c19`, `changedByUser`.`street` AS `t1_c20`, `changedByUser`.`floor` AS `t1_c21`, `changedByUser`.`unit` AS `t1_c22`, `changedByUser`.`country_code` AS `t1_c23`, `changedByUser`.`address_formatted` AS `t1_c24`, `changedByUser`.`postcode` AS `t1_c25`, `changedByUser`.`language` AS `t1_c26`, `changedByUser`.`bank_name` AS `t1_c27`, `changedByUser`.`bank_code` AS `t1_c28`, `changedByUser`.`bank_branch` AS `t1_c29`, `changedByUser`.`bank_branch_code` AS `t1_c30`, `changedByUser`.`bank_account_name` AS `t1_c31`, `changedByUser`.`bank_account_no` AS `t1_c32`, `changedByUser`.`bank_owner_address` AS `t1_c33`, `changedByUser`.`imported_data` AS `t1_c34`, `changedByUser`.`previous_system_user_id` AS `t1_c35`, `changedByUser`.`previous_system_username` AS `t1_c36`, `changedByUser`.`bank_owner_contact` AS `t1_c37`, `changedByUser`.`credits` AS `t1_c38`, `changedByUser`.`credit_expiry_date` AS `t1_c39`, `changedByUser`.`referrer_user_id` AS `t1_c40`, `changedByUser`.`recommender_user_id` AS `t1_c41`, `changedByUser`.`custom_data` AS `t1_c42`, `changedByUser`.`show_welcome` AS `t1_c43`, `changedByUser`.`photo` AS `t1_c44`, `changedByUser`.`photo_user_file_id` AS `t1_c45`, `changedByUser`.`nric` AS `t1_c46`, `changedByUser`.`license_no` AS `t1_c47`, `changedByUser`.`license_expiry_date` AS `t1_c48`, `changedByUser`.`license_fee_deduction_date` AS `t1_c49`, `changedByUser`.`join_date` AS `t1_c50`, `changedByUser`.`left_date` AS `t1_c51`, `changedByUser`.`activkey` AS `t1_c52`, `changedByUser`.`status` AS `t1_c53`, `changedByUser`.`mobile_authtoken` AS `t1_c54`, `changedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `changedByUser`.`mobile_verification_status` AS `t1_c56`, `changedByUser`.`mobile_verification_time` AS `t1_c57`, `changedByUser`.`activate_date` AS `t1_c58`, `changedByUser`.`digesta1` AS `t1_c59`, `changedByUser`.`last_login` AS `t1_c60`, `changedByUser`.`version` AS `t1_c61`, `changedByUser`.`settings` AS `t1_c62`, `changedByUser`.`create_time` AS `t1_c63`, `changedByUser`.`update_time` AS `t1_c64`, `changedByUser`.`agency_id` AS `t1_c65`, `changedByUser`.`vendor_id` AS `t1_c66`, `changedByUser`.`agency_team_id` AS `t1_c67`, `changedByUser`.`party_id` AS `t1_c68`, `changedByUser`.`upline_user_id` AS `t1_c69`, `changedByUser`.`upline_root_id` AS `t1_c70`, `changedByUser`.`lft` AS `t1_c71`, `changedByUser`.`rgt` AS `t1_c72`, `changedByUser`.`level` AS `t1_c73` FROM `user` `changedByUser`  WHERE (`changedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.escalations
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `escalation`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `escalation`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `escalations`.`id` AS `t1_c0`, `escalations`.`ticket_id` AS `t1_c1`, `escalations`.`escalation_level` AS `t1_c2`, `escalations`.`escalation_time` AS `t1_c3`, `escalations`.`escalated_to_user_id` AS `t1_c4`, `escalations`.`escalated_by_user_id` AS `t1_c5` FROM `escalation` `escalations`  WHERE (`escalations`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:36 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:36 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:36 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:36 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/view/ticket_number/1/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:40:36 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:40:36 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:36 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013636, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:36 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:36 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:36 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:40:36 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:40:36 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:36 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:40:36 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:36 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:37 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:37 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:37 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:37 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:37 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:37 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:38 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013638, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:38 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:38 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:38 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='1', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_response`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_response`
2013/10/17 20:40:38 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.createdByUser
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `createdByUser`.`id` AS `t1_c0`, `createdByUser`.`uuid` AS `t1_c1`, `createdByUser`.`username` AS `t1_c2`, `createdByUser`.`password` AS `t1_c3`, `createdByUser`.`name` AS `t1_c4`, `createdByUser`.`display_name` AS `t1_c5`, `createdByUser`.`email` AS `t1_c6`, `createdByUser`.`mobile` AS `t1_c7`, `createdByUser`.`landline` AS `t1_c8`, `createdByUser`.`designation` AS `t1_c9`, `createdByUser`.`gender` AS `t1_c10`, `createdByUser`.`nationality` AS `t1_c11`, `createdByUser`.`religion` AS `t1_c12`, `createdByUser`.`religion_other` AS `t1_c13`, `createdByUser`.`highest_qualification` AS `t1_c14`, `createdByUser`.`highest_qualification_other` AS `t1_c15`, `createdByUser`.`industry_exam_passed` AS `t1_c16`, `createdByUser`.`marital` AS `t1_c17`, `createdByUser`.`birthday` AS `t1_c18`, `createdByUser`.`block` AS `t1_c19`, `createdByUser`.`street` AS `t1_c20`, `createdByUser`.`floor` AS `t1_c21`, `createdByUser`.`unit` AS `t1_c22`, `createdByUser`.`country_code` AS `t1_c23`, `createdByUser`.`address_formatted` AS `t1_c24`, `createdByUser`.`postcode` AS `t1_c25`, `createdByUser`.`language` AS `t1_c26`, `createdByUser`.`bank_name` AS `t1_c27`, `createdByUser`.`bank_code` AS `t1_c28`, `createdByUser`.`bank_branch` AS `t1_c29`, `createdByUser`.`bank_branch_code` AS `t1_c30`, `createdByUser`.`bank_account_name` AS `t1_c31`, `createdByUser`.`bank_account_no` AS `t1_c32`, `createdByUser`.`bank_owner_address` AS `t1_c33`, `createdByUser`.`imported_data` AS `t1_c34`, `createdByUser`.`previous_system_user_id` AS `t1_c35`, `createdByUser`.`previous_system_username` AS `t1_c36`, `createdByUser`.`bank_owner_contact` AS `t1_c37`, `createdByUser`.`credits` AS `t1_c38`, `createdByUser`.`credit_expiry_date` AS `t1_c39`, `createdByUser`.`referrer_user_id` AS `t1_c40`, `createdByUser`.`recommender_user_id` AS `t1_c41`, `createdByUser`.`custom_data` AS `t1_c42`, `createdByUser`.`show_welcome` AS `t1_c43`, `createdByUser`.`photo` AS `t1_c44`, `createdByUser`.`photo_user_file_id` AS `t1_c45`, `createdByUser`.`nric` AS `t1_c46`, `createdByUser`.`license_no` AS `t1_c47`, `createdByUser`.`license_expiry_date` AS `t1_c48`, `createdByUser`.`license_fee_deduction_date` AS `t1_c49`, `createdByUser`.`join_date` AS `t1_c50`, `createdByUser`.`left_date` AS `t1_c51`, `createdByUser`.`activkey` AS `t1_c52`, `createdByUser`.`status` AS `t1_c53`, `createdByUser`.`mobile_authtoken` AS `t1_c54`, `createdByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `createdByUser`.`mobile_verification_status` AS `t1_c56`, `createdByUser`.`mobile_verification_time` AS `t1_c57`, `createdByUser`.`activate_date` AS `t1_c58`, `createdByUser`.`digesta1` AS `t1_c59`, `createdByUser`.`last_login` AS `t1_c60`, `createdByUser`.`version` AS `t1_c61`, `createdByUser`.`settings` AS `t1_c62`, `createdByUser`.`create_time` AS `t1_c63`, `createdByUser`.`update_time` AS `t1_c64`, `createdByUser`.`agency_id` AS `t1_c65`, `createdByUser`.`vendor_id` AS `t1_c66`, `createdByUser`.`agency_team_id` AS `t1_c67`, `createdByUser`.`party_id` AS `t1_c68`, `createdByUser`.`upline_user_id` AS `t1_c69`, `createdByUser`.`upline_root_id` AS `t1_c70`, `createdByUser`.`lft` AS `t1_c71`, `createdByUser`.`rgt` AS `t1_c72`, `createdByUser`.`level` AS `t1_c73` FROM `user` `createdByUser`  WHERE (`createdByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.closedByUser
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `closedByUser`.`id` AS `t1_c0`, `closedByUser`.`uuid` AS `t1_c1`, `closedByUser`.`username` AS `t1_c2`, `closedByUser`.`password` AS `t1_c3`, `closedByUser`.`name` AS `t1_c4`, `closedByUser`.`display_name` AS `t1_c5`, `closedByUser`.`email` AS `t1_c6`, `closedByUser`.`mobile` AS `t1_c7`, `closedByUser`.`landline` AS `t1_c8`, `closedByUser`.`designation` AS `t1_c9`, `closedByUser`.`gender` AS `t1_c10`, `closedByUser`.`nationality` AS `t1_c11`, `closedByUser`.`religion` AS `t1_c12`, `closedByUser`.`religion_other` AS `t1_c13`, `closedByUser`.`highest_qualification` AS `t1_c14`, `closedByUser`.`highest_qualification_other` AS `t1_c15`, `closedByUser`.`industry_exam_passed` AS `t1_c16`, `closedByUser`.`marital` AS `t1_c17`, `closedByUser`.`birthday` AS `t1_c18`, `closedByUser`.`block` AS `t1_c19`, `closedByUser`.`street` AS `t1_c20`, `closedByUser`.`floor` AS `t1_c21`, `closedByUser`.`unit` AS `t1_c22`, `closedByUser`.`country_code` AS `t1_c23`, `closedByUser`.`address_formatted` AS `t1_c24`, `closedByUser`.`postcode` AS `t1_c25`, `closedByUser`.`language` AS `t1_c26`, `closedByUser`.`bank_name` AS `t1_c27`, `closedByUser`.`bank_code` AS `t1_c28`, `closedByUser`.`bank_branch` AS `t1_c29`, `closedByUser`.`bank_branch_code` AS `t1_c30`, `closedByUser`.`bank_account_name` AS `t1_c31`, `closedByUser`.`bank_account_no` AS `t1_c32`, `closedByUser`.`bank_owner_address` AS `t1_c33`, `closedByUser`.`imported_data` AS `t1_c34`, `closedByUser`.`previous_system_user_id` AS `t1_c35`, `closedByUser`.`previous_system_username` AS `t1_c36`, `closedByUser`.`bank_owner_contact` AS `t1_c37`, `closedByUser`.`credits` AS `t1_c38`, `closedByUser`.`credit_expiry_date` AS `t1_c39`, `closedByUser`.`referrer_user_id` AS `t1_c40`, `closedByUser`.`recommender_user_id` AS `t1_c41`, `closedByUser`.`custom_data` AS `t1_c42`, `closedByUser`.`show_welcome` AS `t1_c43`, `closedByUser`.`photo` AS `t1_c44`, `closedByUser`.`photo_user_file_id` AS `t1_c45`, `closedByUser`.`nric` AS `t1_c46`, `closedByUser`.`license_no` AS `t1_c47`, `closedByUser`.`license_expiry_date` AS `t1_c48`, `closedByUser`.`license_fee_deduction_date` AS `t1_c49`, `closedByUser`.`join_date` AS `t1_c50`, `closedByUser`.`left_date` AS `t1_c51`, `closedByUser`.`activkey` AS `t1_c52`, `closedByUser`.`status` AS `t1_c53`, `closedByUser`.`mobile_authtoken` AS `t1_c54`, `closedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `closedByUser`.`mobile_verification_status` AS `t1_c56`, `closedByUser`.`mobile_verification_time` AS `t1_c57`, `closedByUser`.`activate_date` AS `t1_c58`, `closedByUser`.`digesta1` AS `t1_c59`, `closedByUser`.`last_login` AS `t1_c60`, `closedByUser`.`version` AS `t1_c61`, `closedByUser`.`settings` AS `t1_c62`, `closedByUser`.`create_time` AS `t1_c63`, `closedByUser`.`update_time` AS `t1_c64`, `closedByUser`.`agency_id` AS `t1_c65`, `closedByUser`.`vendor_id` AS `t1_c66`, `closedByUser`.`agency_team_id` AS `t1_c67`, `closedByUser`.`party_id` AS `t1_c68`, `closedByUser`.`upline_user_id` AS `t1_c69`, `closedByUser`.`upline_root_id` AS `t1_c70`, `closedByUser`.`lft` AS `t1_c71`, `closedByUser`.`rgt` AS `t1_c72`, `closedByUser`.`level` AS `t1_c73` FROM `user` `closedByUser`  WHERE (`closedByUser`.`id`=:ypl0). Bound with :ypl0=NULL
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.currentStatus
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `currentStatus`.`code` AS `t1_c0`, `currentStatus`.`is_closing_status` AS `t1_c1` FROM `ticket_status_type` `currentStatus`  WHERE (`currentStatus`.`code`=:ypl0). Bound with :ypl0='Open'
2013/10/17 20:40:38 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketResponses
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketResponses`.`id` AS `t1_c0`, `ticketResponses`.`ticket_id` AS `t1_c1`, `ticketResponses`.`responded_by_email` AS `t1_c2`, `ticketResponses`.`responded_by_user_id` AS `t1_c3`, `ticketResponses`.`response_time` AS `t1_c4`, `ticketResponses`.`message` AS `t1_c5`, `ticketResponses`.`agency_id` AS `t1_c6` FROM `ticket_response` `ticketResponses`  WHERE (`ticketResponses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading TicketResponse.respondedByUser
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `respondedByUser`.`id` AS `t1_c0`, `respondedByUser`.`uuid` AS `t1_c1`, `respondedByUser`.`username` AS `t1_c2`, `respondedByUser`.`password` AS `t1_c3`, `respondedByUser`.`name` AS `t1_c4`, `respondedByUser`.`display_name` AS `t1_c5`, `respondedByUser`.`email` AS `t1_c6`, `respondedByUser`.`mobile` AS `t1_c7`, `respondedByUser`.`landline` AS `t1_c8`, `respondedByUser`.`designation` AS `t1_c9`, `respondedByUser`.`gender` AS `t1_c10`, `respondedByUser`.`nationality` AS `t1_c11`, `respondedByUser`.`religion` AS `t1_c12`, `respondedByUser`.`religion_other` AS `t1_c13`, `respondedByUser`.`highest_qualification` AS `t1_c14`, `respondedByUser`.`highest_qualification_other` AS `t1_c15`, `respondedByUser`.`industry_exam_passed` AS `t1_c16`, `respondedByUser`.`marital` AS `t1_c17`, `respondedByUser`.`birthday` AS `t1_c18`, `respondedByUser`.`block` AS `t1_c19`, `respondedByUser`.`street` AS `t1_c20`, `respondedByUser`.`floor` AS `t1_c21`, `respondedByUser`.`unit` AS `t1_c22`, `respondedByUser`.`country_code` AS `t1_c23`, `respondedByUser`.`address_formatted` AS `t1_c24`, `respondedByUser`.`postcode` AS `t1_c25`, `respondedByUser`.`language` AS `t1_c26`, `respondedByUser`.`bank_name` AS `t1_c27`, `respondedByUser`.`bank_code` AS `t1_c28`, `respondedByUser`.`bank_branch` AS `t1_c29`, `respondedByUser`.`bank_branch_code` AS `t1_c30`, `respondedByUser`.`bank_account_name` AS `t1_c31`, `respondedByUser`.`bank_account_no` AS `t1_c32`, `respondedByUser`.`bank_owner_address` AS `t1_c33`, `respondedByUser`.`imported_data` AS `t1_c34`, `respondedByUser`.`previous_system_user_id` AS `t1_c35`, `respondedByUser`.`previous_system_username` AS `t1_c36`, `respondedByUser`.`bank_owner_contact` AS `t1_c37`, `respondedByUser`.`credits` AS `t1_c38`, `respondedByUser`.`credit_expiry_date` AS `t1_c39`, `respondedByUser`.`referrer_user_id` AS `t1_c40`, `respondedByUser`.`recommender_user_id` AS `t1_c41`, `respondedByUser`.`custom_data` AS `t1_c42`, `respondedByUser`.`show_welcome` AS `t1_c43`, `respondedByUser`.`photo` AS `t1_c44`, `respondedByUser`.`photo_user_file_id` AS `t1_c45`, `respondedByUser`.`nric` AS `t1_c46`, `respondedByUser`.`license_no` AS `t1_c47`, `respondedByUser`.`license_expiry_date` AS `t1_c48`, `respondedByUser`.`license_fee_deduction_date` AS `t1_c49`, `respondedByUser`.`join_date` AS `t1_c50`, `respondedByUser`.`left_date` AS `t1_c51`, `respondedByUser`.`activkey` AS `t1_c52`, `respondedByUser`.`status` AS `t1_c53`, `respondedByUser`.`mobile_authtoken` AS `t1_c54`, `respondedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `respondedByUser`.`mobile_verification_status` AS `t1_c56`, `respondedByUser`.`mobile_verification_time` AS `t1_c57`, `respondedByUser`.`activate_date` AS `t1_c58`, `respondedByUser`.`digesta1` AS `t1_c59`, `respondedByUser`.`last_login` AS `t1_c60`, `respondedByUser`.`version` AS `t1_c61`, `respondedByUser`.`settings` AS `t1_c62`, `respondedByUser`.`create_time` AS `t1_c63`, `respondedByUser`.`update_time` AS `t1_c64`, `respondedByUser`.`agency_id` AS `t1_c65`, `respondedByUser`.`vendor_id` AS `t1_c66`, `respondedByUser`.`agency_team_id` AS `t1_c67`, `respondedByUser`.`party_id` AS `t1_c68`, `respondedByUser`.`upline_user_id` AS `t1_c69`, `respondedByUser`.`upline_root_id` AS `t1_c70`, `respondedByUser`.`lft` AS `t1_c71`, `respondedByUser`.`rgt` AS `t1_c72`, `respondedByUser`.`level` AS `t1_c73` FROM `user` `respondedByUser`  WHERE (`respondedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAllByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` WHERE `t`.`is_closing_status`=:yp0. Bound with :yp0=1
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketStatuses
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketStatuses`.`id` AS `t1_c0`, `ticketStatuses`.`ticket_id` AS `t1_c1`, `ticketStatuses`.`status_time` AS `t1_c2`, `ticketStatuses`.`type` AS `t1_c3`, `ticketStatuses`.`changed_by_user_id` AS `t1_c4` FROM `ticket_status` `ticketStatuses`  WHERE (`ticketStatuses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading TicketStatus.changedByUser
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `changedByUser`.`id` AS `t1_c0`, `changedByUser`.`uuid` AS `t1_c1`, `changedByUser`.`username` AS `t1_c2`, `changedByUser`.`password` AS `t1_c3`, `changedByUser`.`name` AS `t1_c4`, `changedByUser`.`display_name` AS `t1_c5`, `changedByUser`.`email` AS `t1_c6`, `changedByUser`.`mobile` AS `t1_c7`, `changedByUser`.`landline` AS `t1_c8`, `changedByUser`.`designation` AS `t1_c9`, `changedByUser`.`gender` AS `t1_c10`, `changedByUser`.`nationality` AS `t1_c11`, `changedByUser`.`religion` AS `t1_c12`, `changedByUser`.`religion_other` AS `t1_c13`, `changedByUser`.`highest_qualification` AS `t1_c14`, `changedByUser`.`highest_qualification_other` AS `t1_c15`, `changedByUser`.`industry_exam_passed` AS `t1_c16`, `changedByUser`.`marital` AS `t1_c17`, `changedByUser`.`birthday` AS `t1_c18`, `changedByUser`.`block` AS `t1_c19`, `changedByUser`.`street` AS `t1_c20`, `changedByUser`.`floor` AS `t1_c21`, `changedByUser`.`unit` AS `t1_c22`, `changedByUser`.`country_code` AS `t1_c23`, `changedByUser`.`address_formatted` AS `t1_c24`, `changedByUser`.`postcode` AS `t1_c25`, `changedByUser`.`language` AS `t1_c26`, `changedByUser`.`bank_name` AS `t1_c27`, `changedByUser`.`bank_code` AS `t1_c28`, `changedByUser`.`bank_branch` AS `t1_c29`, `changedByUser`.`bank_branch_code` AS `t1_c30`, `changedByUser`.`bank_account_name` AS `t1_c31`, `changedByUser`.`bank_account_no` AS `t1_c32`, `changedByUser`.`bank_owner_address` AS `t1_c33`, `changedByUser`.`imported_data` AS `t1_c34`, `changedByUser`.`previous_system_user_id` AS `t1_c35`, `changedByUser`.`previous_system_username` AS `t1_c36`, `changedByUser`.`bank_owner_contact` AS `t1_c37`, `changedByUser`.`credits` AS `t1_c38`, `changedByUser`.`credit_expiry_date` AS `t1_c39`, `changedByUser`.`referrer_user_id` AS `t1_c40`, `changedByUser`.`recommender_user_id` AS `t1_c41`, `changedByUser`.`custom_data` AS `t1_c42`, `changedByUser`.`show_welcome` AS `t1_c43`, `changedByUser`.`photo` AS `t1_c44`, `changedByUser`.`photo_user_file_id` AS `t1_c45`, `changedByUser`.`nric` AS `t1_c46`, `changedByUser`.`license_no` AS `t1_c47`, `changedByUser`.`license_expiry_date` AS `t1_c48`, `changedByUser`.`license_fee_deduction_date` AS `t1_c49`, `changedByUser`.`join_date` AS `t1_c50`, `changedByUser`.`left_date` AS `t1_c51`, `changedByUser`.`activkey` AS `t1_c52`, `changedByUser`.`status` AS `t1_c53`, `changedByUser`.`mobile_authtoken` AS `t1_c54`, `changedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `changedByUser`.`mobile_verification_status` AS `t1_c56`, `changedByUser`.`mobile_verification_time` AS `t1_c57`, `changedByUser`.`activate_date` AS `t1_c58`, `changedByUser`.`digesta1` AS `t1_c59`, `changedByUser`.`last_login` AS `t1_c60`, `changedByUser`.`version` AS `t1_c61`, `changedByUser`.`settings` AS `t1_c62`, `changedByUser`.`create_time` AS `t1_c63`, `changedByUser`.`update_time` AS `t1_c64`, `changedByUser`.`agency_id` AS `t1_c65`, `changedByUser`.`vendor_id` AS `t1_c66`, `changedByUser`.`agency_team_id` AS `t1_c67`, `changedByUser`.`party_id` AS `t1_c68`, `changedByUser`.`upline_user_id` AS `t1_c69`, `changedByUser`.`upline_root_id` AS `t1_c70`, `changedByUser`.`lft` AS `t1_c71`, `changedByUser`.`rgt` AS `t1_c72`, `changedByUser`.`level` AS `t1_c73` FROM `user` `changedByUser`  WHERE (`changedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.escalations
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `escalation`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `escalation`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `escalations`.`id` AS `t1_c0`, `escalations`.`ticket_id` AS `t1_c1`, `escalations`.`escalation_level` AS `t1_c2`, `escalations`.`escalation_time` AS `t1_c3`, `escalations`.`escalated_to_user_id` AS `t1_c4`, `escalations`.`escalated_by_user_id` AS `t1_c5` FROM `escalation` `escalations`  WHERE (`escalations`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:38 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:38 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:38 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:38 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/view/ticket_number/1/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:40:38 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:40:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:38 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013638, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:38 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:38 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:38 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:40:38 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:38 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:38 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:38 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:38 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013638, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:38 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:38 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:38 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:38 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='5', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` ORDER BY is_closing_status ASC
2013/10/17 20:40:38 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t`
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] TicketSource.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_source`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_source`
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_source` `t`
2013/10/17 20:40:38 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Ticket.count()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1). Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:40:38 [trace] [system.db.ar.CActiveRecord] Ticket.findAll()
2013/10/17 20:40:38 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1) LIMIT 10. Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:40:38 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:40:38 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:39 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:39 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:39 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/list/ticket_number/5/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:40:39 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:39 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:40:39 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:39 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013639, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:39 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:39 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:39 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:39 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:40:39 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:40:39 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:39 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:40:39 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:39 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:40 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:40 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:40 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:40 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:40 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013640, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:40 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:40 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:40 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:40 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='1', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_response`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_response`
2013/10/17 20:40:40 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.createdByUser
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `createdByUser`.`id` AS `t1_c0`, `createdByUser`.`uuid` AS `t1_c1`, `createdByUser`.`username` AS `t1_c2`, `createdByUser`.`password` AS `t1_c3`, `createdByUser`.`name` AS `t1_c4`, `createdByUser`.`display_name` AS `t1_c5`, `createdByUser`.`email` AS `t1_c6`, `createdByUser`.`mobile` AS `t1_c7`, `createdByUser`.`landline` AS `t1_c8`, `createdByUser`.`designation` AS `t1_c9`, `createdByUser`.`gender` AS `t1_c10`, `createdByUser`.`nationality` AS `t1_c11`, `createdByUser`.`religion` AS `t1_c12`, `createdByUser`.`religion_other` AS `t1_c13`, `createdByUser`.`highest_qualification` AS `t1_c14`, `createdByUser`.`highest_qualification_other` AS `t1_c15`, `createdByUser`.`industry_exam_passed` AS `t1_c16`, `createdByUser`.`marital` AS `t1_c17`, `createdByUser`.`birthday` AS `t1_c18`, `createdByUser`.`block` AS `t1_c19`, `createdByUser`.`street` AS `t1_c20`, `createdByUser`.`floor` AS `t1_c21`, `createdByUser`.`unit` AS `t1_c22`, `createdByUser`.`country_code` AS `t1_c23`, `createdByUser`.`address_formatted` AS `t1_c24`, `createdByUser`.`postcode` AS `t1_c25`, `createdByUser`.`language` AS `t1_c26`, `createdByUser`.`bank_name` AS `t1_c27`, `createdByUser`.`bank_code` AS `t1_c28`, `createdByUser`.`bank_branch` AS `t1_c29`, `createdByUser`.`bank_branch_code` AS `t1_c30`, `createdByUser`.`bank_account_name` AS `t1_c31`, `createdByUser`.`bank_account_no` AS `t1_c32`, `createdByUser`.`bank_owner_address` AS `t1_c33`, `createdByUser`.`imported_data` AS `t1_c34`, `createdByUser`.`previous_system_user_id` AS `t1_c35`, `createdByUser`.`previous_system_username` AS `t1_c36`, `createdByUser`.`bank_owner_contact` AS `t1_c37`, `createdByUser`.`credits` AS `t1_c38`, `createdByUser`.`credit_expiry_date` AS `t1_c39`, `createdByUser`.`referrer_user_id` AS `t1_c40`, `createdByUser`.`recommender_user_id` AS `t1_c41`, `createdByUser`.`custom_data` AS `t1_c42`, `createdByUser`.`show_welcome` AS `t1_c43`, `createdByUser`.`photo` AS `t1_c44`, `createdByUser`.`photo_user_file_id` AS `t1_c45`, `createdByUser`.`nric` AS `t1_c46`, `createdByUser`.`license_no` AS `t1_c47`, `createdByUser`.`license_expiry_date` AS `t1_c48`, `createdByUser`.`license_fee_deduction_date` AS `t1_c49`, `createdByUser`.`join_date` AS `t1_c50`, `createdByUser`.`left_date` AS `t1_c51`, `createdByUser`.`activkey` AS `t1_c52`, `createdByUser`.`status` AS `t1_c53`, `createdByUser`.`mobile_authtoken` AS `t1_c54`, `createdByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `createdByUser`.`mobile_verification_status` AS `t1_c56`, `createdByUser`.`mobile_verification_time` AS `t1_c57`, `createdByUser`.`activate_date` AS `t1_c58`, `createdByUser`.`digesta1` AS `t1_c59`, `createdByUser`.`last_login` AS `t1_c60`, `createdByUser`.`version` AS `t1_c61`, `createdByUser`.`settings` AS `t1_c62`, `createdByUser`.`create_time` AS `t1_c63`, `createdByUser`.`update_time` AS `t1_c64`, `createdByUser`.`agency_id` AS `t1_c65`, `createdByUser`.`vendor_id` AS `t1_c66`, `createdByUser`.`agency_team_id` AS `t1_c67`, `createdByUser`.`party_id` AS `t1_c68`, `createdByUser`.`upline_user_id` AS `t1_c69`, `createdByUser`.`upline_root_id` AS `t1_c70`, `createdByUser`.`lft` AS `t1_c71`, `createdByUser`.`rgt` AS `t1_c72`, `createdByUser`.`level` AS `t1_c73` FROM `user` `createdByUser`  WHERE (`createdByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.closedByUser
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `closedByUser`.`id` AS `t1_c0`, `closedByUser`.`uuid` AS `t1_c1`, `closedByUser`.`username` AS `t1_c2`, `closedByUser`.`password` AS `t1_c3`, `closedByUser`.`name` AS `t1_c4`, `closedByUser`.`display_name` AS `t1_c5`, `closedByUser`.`email` AS `t1_c6`, `closedByUser`.`mobile` AS `t1_c7`, `closedByUser`.`landline` AS `t1_c8`, `closedByUser`.`designation` AS `t1_c9`, `closedByUser`.`gender` AS `t1_c10`, `closedByUser`.`nationality` AS `t1_c11`, `closedByUser`.`religion` AS `t1_c12`, `closedByUser`.`religion_other` AS `t1_c13`, `closedByUser`.`highest_qualification` AS `t1_c14`, `closedByUser`.`highest_qualification_other` AS `t1_c15`, `closedByUser`.`industry_exam_passed` AS `t1_c16`, `closedByUser`.`marital` AS `t1_c17`, `closedByUser`.`birthday` AS `t1_c18`, `closedByUser`.`block` AS `t1_c19`, `closedByUser`.`street` AS `t1_c20`, `closedByUser`.`floor` AS `t1_c21`, `closedByUser`.`unit` AS `t1_c22`, `closedByUser`.`country_code` AS `t1_c23`, `closedByUser`.`address_formatted` AS `t1_c24`, `closedByUser`.`postcode` AS `t1_c25`, `closedByUser`.`language` AS `t1_c26`, `closedByUser`.`bank_name` AS `t1_c27`, `closedByUser`.`bank_code` AS `t1_c28`, `closedByUser`.`bank_branch` AS `t1_c29`, `closedByUser`.`bank_branch_code` AS `t1_c30`, `closedByUser`.`bank_account_name` AS `t1_c31`, `closedByUser`.`bank_account_no` AS `t1_c32`, `closedByUser`.`bank_owner_address` AS `t1_c33`, `closedByUser`.`imported_data` AS `t1_c34`, `closedByUser`.`previous_system_user_id` AS `t1_c35`, `closedByUser`.`previous_system_username` AS `t1_c36`, `closedByUser`.`bank_owner_contact` AS `t1_c37`, `closedByUser`.`credits` AS `t1_c38`, `closedByUser`.`credit_expiry_date` AS `t1_c39`, `closedByUser`.`referrer_user_id` AS `t1_c40`, `closedByUser`.`recommender_user_id` AS `t1_c41`, `closedByUser`.`custom_data` AS `t1_c42`, `closedByUser`.`show_welcome` AS `t1_c43`, `closedByUser`.`photo` AS `t1_c44`, `closedByUser`.`photo_user_file_id` AS `t1_c45`, `closedByUser`.`nric` AS `t1_c46`, `closedByUser`.`license_no` AS `t1_c47`, `closedByUser`.`license_expiry_date` AS `t1_c48`, `closedByUser`.`license_fee_deduction_date` AS `t1_c49`, `closedByUser`.`join_date` AS `t1_c50`, `closedByUser`.`left_date` AS `t1_c51`, `closedByUser`.`activkey` AS `t1_c52`, `closedByUser`.`status` AS `t1_c53`, `closedByUser`.`mobile_authtoken` AS `t1_c54`, `closedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `closedByUser`.`mobile_verification_status` AS `t1_c56`, `closedByUser`.`mobile_verification_time` AS `t1_c57`, `closedByUser`.`activate_date` AS `t1_c58`, `closedByUser`.`digesta1` AS `t1_c59`, `closedByUser`.`last_login` AS `t1_c60`, `closedByUser`.`version` AS `t1_c61`, `closedByUser`.`settings` AS `t1_c62`, `closedByUser`.`create_time` AS `t1_c63`, `closedByUser`.`update_time` AS `t1_c64`, `closedByUser`.`agency_id` AS `t1_c65`, `closedByUser`.`vendor_id` AS `t1_c66`, `closedByUser`.`agency_team_id` AS `t1_c67`, `closedByUser`.`party_id` AS `t1_c68`, `closedByUser`.`upline_user_id` AS `t1_c69`, `closedByUser`.`upline_root_id` AS `t1_c70`, `closedByUser`.`lft` AS `t1_c71`, `closedByUser`.`rgt` AS `t1_c72`, `closedByUser`.`level` AS `t1_c73` FROM `user` `closedByUser`  WHERE (`closedByUser`.`id`=:ypl0). Bound with :ypl0=NULL
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.currentStatus
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `currentStatus`.`code` AS `t1_c0`, `currentStatus`.`is_closing_status` AS `t1_c1` FROM `ticket_status_type` `currentStatus`  WHERE (`currentStatus`.`code`=:ypl0). Bound with :ypl0='Open'
2013/10/17 20:40:40 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketResponses
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketResponses`.`id` AS `t1_c0`, `ticketResponses`.`ticket_id` AS `t1_c1`, `ticketResponses`.`responded_by_email` AS `t1_c2`, `ticketResponses`.`responded_by_user_id` AS `t1_c3`, `ticketResponses`.`response_time` AS `t1_c4`, `ticketResponses`.`message` AS `t1_c5`, `ticketResponses`.`agency_id` AS `t1_c6` FROM `ticket_response` `ticketResponses`  WHERE (`ticketResponses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading TicketResponse.respondedByUser
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `respondedByUser`.`id` AS `t1_c0`, `respondedByUser`.`uuid` AS `t1_c1`, `respondedByUser`.`username` AS `t1_c2`, `respondedByUser`.`password` AS `t1_c3`, `respondedByUser`.`name` AS `t1_c4`, `respondedByUser`.`display_name` AS `t1_c5`, `respondedByUser`.`email` AS `t1_c6`, `respondedByUser`.`mobile` AS `t1_c7`, `respondedByUser`.`landline` AS `t1_c8`, `respondedByUser`.`designation` AS `t1_c9`, `respondedByUser`.`gender` AS `t1_c10`, `respondedByUser`.`nationality` AS `t1_c11`, `respondedByUser`.`religion` AS `t1_c12`, `respondedByUser`.`religion_other` AS `t1_c13`, `respondedByUser`.`highest_qualification` AS `t1_c14`, `respondedByUser`.`highest_qualification_other` AS `t1_c15`, `respondedByUser`.`industry_exam_passed` AS `t1_c16`, `respondedByUser`.`marital` AS `t1_c17`, `respondedByUser`.`birthday` AS `t1_c18`, `respondedByUser`.`block` AS `t1_c19`, `respondedByUser`.`street` AS `t1_c20`, `respondedByUser`.`floor` AS `t1_c21`, `respondedByUser`.`unit` AS `t1_c22`, `respondedByUser`.`country_code` AS `t1_c23`, `respondedByUser`.`address_formatted` AS `t1_c24`, `respondedByUser`.`postcode` AS `t1_c25`, `respondedByUser`.`language` AS `t1_c26`, `respondedByUser`.`bank_name` AS `t1_c27`, `respondedByUser`.`bank_code` AS `t1_c28`, `respondedByUser`.`bank_branch` AS `t1_c29`, `respondedByUser`.`bank_branch_code` AS `t1_c30`, `respondedByUser`.`bank_account_name` AS `t1_c31`, `respondedByUser`.`bank_account_no` AS `t1_c32`, `respondedByUser`.`bank_owner_address` AS `t1_c33`, `respondedByUser`.`imported_data` AS `t1_c34`, `respondedByUser`.`previous_system_user_id` AS `t1_c35`, `respondedByUser`.`previous_system_username` AS `t1_c36`, `respondedByUser`.`bank_owner_contact` AS `t1_c37`, `respondedByUser`.`credits` AS `t1_c38`, `respondedByUser`.`credit_expiry_date` AS `t1_c39`, `respondedByUser`.`referrer_user_id` AS `t1_c40`, `respondedByUser`.`recommender_user_id` AS `t1_c41`, `respondedByUser`.`custom_data` AS `t1_c42`, `respondedByUser`.`show_welcome` AS `t1_c43`, `respondedByUser`.`photo` AS `t1_c44`, `respondedByUser`.`photo_user_file_id` AS `t1_c45`, `respondedByUser`.`nric` AS `t1_c46`, `respondedByUser`.`license_no` AS `t1_c47`, `respondedByUser`.`license_expiry_date` AS `t1_c48`, `respondedByUser`.`license_fee_deduction_date` AS `t1_c49`, `respondedByUser`.`join_date` AS `t1_c50`, `respondedByUser`.`left_date` AS `t1_c51`, `respondedByUser`.`activkey` AS `t1_c52`, `respondedByUser`.`status` AS `t1_c53`, `respondedByUser`.`mobile_authtoken` AS `t1_c54`, `respondedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `respondedByUser`.`mobile_verification_status` AS `t1_c56`, `respondedByUser`.`mobile_verification_time` AS `t1_c57`, `respondedByUser`.`activate_date` AS `t1_c58`, `respondedByUser`.`digesta1` AS `t1_c59`, `respondedByUser`.`last_login` AS `t1_c60`, `respondedByUser`.`version` AS `t1_c61`, `respondedByUser`.`settings` AS `t1_c62`, `respondedByUser`.`create_time` AS `t1_c63`, `respondedByUser`.`update_time` AS `t1_c64`, `respondedByUser`.`agency_id` AS `t1_c65`, `respondedByUser`.`vendor_id` AS `t1_c66`, `respondedByUser`.`agency_team_id` AS `t1_c67`, `respondedByUser`.`party_id` AS `t1_c68`, `respondedByUser`.`upline_user_id` AS `t1_c69`, `respondedByUser`.`upline_root_id` AS `t1_c70`, `respondedByUser`.`lft` AS `t1_c71`, `respondedByUser`.`rgt` AS `t1_c72`, `respondedByUser`.`level` AS `t1_c73` FROM `user` `respondedByUser`  WHERE (`respondedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAllByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` WHERE `t`.`is_closing_status`=:yp0. Bound with :yp0=1
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.ticketStatuses
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `ticketStatuses`.`id` AS `t1_c0`, `ticketStatuses`.`ticket_id` AS `t1_c1`, `ticketStatuses`.`status_time` AS `t1_c2`, `ticketStatuses`.`type` AS `t1_c3`, `ticketStatuses`.`changed_by_user_id` AS `t1_c4` FROM `ticket_status` `ticketStatuses`  WHERE (`ticketStatuses`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading TicketStatus.changedByUser
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `changedByUser`.`id` AS `t1_c0`, `changedByUser`.`uuid` AS `t1_c1`, `changedByUser`.`username` AS `t1_c2`, `changedByUser`.`password` AS `t1_c3`, `changedByUser`.`name` AS `t1_c4`, `changedByUser`.`display_name` AS `t1_c5`, `changedByUser`.`email` AS `t1_c6`, `changedByUser`.`mobile` AS `t1_c7`, `changedByUser`.`landline` AS `t1_c8`, `changedByUser`.`designation` AS `t1_c9`, `changedByUser`.`gender` AS `t1_c10`, `changedByUser`.`nationality` AS `t1_c11`, `changedByUser`.`religion` AS `t1_c12`, `changedByUser`.`religion_other` AS `t1_c13`, `changedByUser`.`highest_qualification` AS `t1_c14`, `changedByUser`.`highest_qualification_other` AS `t1_c15`, `changedByUser`.`industry_exam_passed` AS `t1_c16`, `changedByUser`.`marital` AS `t1_c17`, `changedByUser`.`birthday` AS `t1_c18`, `changedByUser`.`block` AS `t1_c19`, `changedByUser`.`street` AS `t1_c20`, `changedByUser`.`floor` AS `t1_c21`, `changedByUser`.`unit` AS `t1_c22`, `changedByUser`.`country_code` AS `t1_c23`, `changedByUser`.`address_formatted` AS `t1_c24`, `changedByUser`.`postcode` AS `t1_c25`, `changedByUser`.`language` AS `t1_c26`, `changedByUser`.`bank_name` AS `t1_c27`, `changedByUser`.`bank_code` AS `t1_c28`, `changedByUser`.`bank_branch` AS `t1_c29`, `changedByUser`.`bank_branch_code` AS `t1_c30`, `changedByUser`.`bank_account_name` AS `t1_c31`, `changedByUser`.`bank_account_no` AS `t1_c32`, `changedByUser`.`bank_owner_address` AS `t1_c33`, `changedByUser`.`imported_data` AS `t1_c34`, `changedByUser`.`previous_system_user_id` AS `t1_c35`, `changedByUser`.`previous_system_username` AS `t1_c36`, `changedByUser`.`bank_owner_contact` AS `t1_c37`, `changedByUser`.`credits` AS `t1_c38`, `changedByUser`.`credit_expiry_date` AS `t1_c39`, `changedByUser`.`referrer_user_id` AS `t1_c40`, `changedByUser`.`recommender_user_id` AS `t1_c41`, `changedByUser`.`custom_data` AS `t1_c42`, `changedByUser`.`show_welcome` AS `t1_c43`, `changedByUser`.`photo` AS `t1_c44`, `changedByUser`.`photo_user_file_id` AS `t1_c45`, `changedByUser`.`nric` AS `t1_c46`, `changedByUser`.`license_no` AS `t1_c47`, `changedByUser`.`license_expiry_date` AS `t1_c48`, `changedByUser`.`license_fee_deduction_date` AS `t1_c49`, `changedByUser`.`join_date` AS `t1_c50`, `changedByUser`.`left_date` AS `t1_c51`, `changedByUser`.`activkey` AS `t1_c52`, `changedByUser`.`status` AS `t1_c53`, `changedByUser`.`mobile_authtoken` AS `t1_c54`, `changedByUser`.`mobile_authtoken_sent_time` AS `t1_c55`, `changedByUser`.`mobile_verification_status` AS `t1_c56`, `changedByUser`.`mobile_verification_time` AS `t1_c57`, `changedByUser`.`activate_date` AS `t1_c58`, `changedByUser`.`digesta1` AS `t1_c59`, `changedByUser`.`last_login` AS `t1_c60`, `changedByUser`.`version` AS `t1_c61`, `changedByUser`.`settings` AS `t1_c62`, `changedByUser`.`create_time` AS `t1_c63`, `changedByUser`.`update_time` AS `t1_c64`, `changedByUser`.`agency_id` AS `t1_c65`, `changedByUser`.`vendor_id` AS `t1_c66`, `changedByUser`.`agency_team_id` AS `t1_c67`, `changedByUser`.`party_id` AS `t1_c68`, `changedByUser`.`upline_user_id` AS `t1_c69`, `changedByUser`.`upline_root_id` AS `t1_c70`, `changedByUser`.`lft` AS `t1_c71`, `changedByUser`.`rgt` AS `t1_c72`, `changedByUser`.`level` AS `t1_c73` FROM `user` `changedByUser`  WHERE (`changedByUser`.`id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading Ticket.escalations
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `escalation`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `escalation`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `escalations`.`id` AS `t1_c0`, `escalations`.`ticket_id` AS `t1_c1`, `escalations`.`escalation_level` AS `t1_c2`, `escalations`.`escalation_time` AS `t1_c3`, `escalations`.`escalated_to_user_id` AS `t1_c4`, `escalations`.`escalated_by_user_id` AS `t1_c5` FROM `escalation` `escalations`  WHERE (`escalations`.`ticket_id`=:ypl0). Bound with :ypl0='1'
2013/10/17 20:40:40 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:40 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:40 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:40 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/view/ticket_number/1/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:40:40 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:40:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:40 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013640, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:40 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:40 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:40 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:40:40 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:40:40 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:40 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:40:40 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:40 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:41 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:41 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:41 [trace] [system.base.CModule] Loading "tickets" module
2013/10/17 20:40:41 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteraccessControl()
2013/10/17 20:40:41 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:41 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013641, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:41 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:41 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:41 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filterdomainName()
2013/10/17 20:40:41 [trace] [system.web.filters.CFilterChain] Running filter PublicController.filteragencyContext()
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.findByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `agency` `t` WHERE `t`.`shortname`=:yp0 LIMIT 1. Bound with :yp0='raintree'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Ticket.findByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE `t`.`ticket_number`=:yp0 AND `t`.`email`=:yp1 AND `t`.`agency_id`=:yp2 LIMIT 1. Bound with :yp0='5', :yp1='pohnean@gmail.com', :yp2='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_status_type`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_status_type`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t` ORDER BY is_closing_status ASC
2013/10/17 20:40:41 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] TicketStatusType.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_status_type` `t`
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] TicketType.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_type`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_type`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_type` `t`
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] TicketSource.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ticket_source`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ticket_source`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket_source` `t`
2013/10/17 20:40:41 [trace] [system.CModule] Loading "widgetFactory" application component
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Ticket.count()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1). Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Ticket.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ticket` `t` WHERE (t.agency_id=:ycp0) AND (t.email LIKE :ycp1) LIMIT 10. Bound with :ycp0='4091', :ycp1='%pohnean@gmail.com%'
2013/10/17 20:40:41 [trace] [system.CModule] Loading "messages" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "format" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "log" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "request" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "urlManager" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "cache" application component
2013/10/17 20:40:41 [trace] [system.caching.CMemCache] Saving "Yii.CUrlManager.rules" to cache
2013/10/17 20:40:41 [trace] [system.CModule] Loading "coreMessages" application component
2013/10/17 20:40:41 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png".' in /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php:286
Stack trace:
#0 /var/www/propsage-tickets/common/framework/1.1.14/web/CWebApplication.php(141): CWebApplication->runController('uploads/08ee3d3...')
#1 /var/www/propsage-tickets/common/framework/1.1.14/base/CApplication.php(180): CWebApplication->processRequest()
#2 /var/www/propsage-tickets/html/index.php(9): CApplication->run()
#3 {main}
REQUEST_URI=/uploads/08ee3d38-efdf-4801-9431-0827f02f9511/42d4c715-d000-40fe-aeec-0950009dbe01.png
HTTP_REFERER=http://draco.propsage.com/tickets/public/list/ticket_number/5/email/pohnean%40gmail.com/shortname/raintree
---
2013/10/17 20:40:41 [trace] [system.CModule] Loading "errorHandler" application component
2013/10/17 20:40:41 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filteraccessControl()
2013/10/17 20:40:41 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "session" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "db" application component
2013/10/17 20:40:41 [trace] [system.db.CDbConnection] Opening DB connection
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT `data`
FROM `yii_session`
WHERE expire>:expire AND id=:id. Bound with :expire=1382013641, :id='25ctn0klcpipo9tbuv6h8pt370'
2013/10/17 20:40:41 [trace] [system.CModule] Loading "securityManager" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "statePersister" application component
2013/10/17 20:40:41 [trace] [system.caching.CMemCache] Saving "Yii.CStatePersister./var/www/propsage-tickets/apps/home/runtime/state.bin" to cache
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `user`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `user`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:41 [trace] [system.CModule] Loading "localtime" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "user" application component
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] User.findByPk()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `user` `t` WHERE `t`.`id`=1 LIMIT 1
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `agency`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `agency`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] lazy loading User.agency
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT `agency`.`id` AS `t1_c0`, `agency`.`type` AS `t1_c1`, `agency`.`name` AS `t1_c2`, `agency`.`tagline` AS `t1_c3`, `agency`.`shortname` AS `t1_c4`, `agency`.`logo` AS `t1_c5`, `agency`.`logo_user_file_id` AS `t1_c6`, `agency`.`admin_email` AS `t1_c7`, `agency`.`gst_registered` AS `t1_c8`, `agency`.`gst_registration_number` AS `t1_c9`, `agency`.`registration_number` AS `t1_c10`, `agency`.`acra_number` AS `t1_c11`, `agency`.`address_1` AS `t1_c12`, `agency`.`address_2` AS `t1_c13`, `agency`.`postcode` AS `t1_c14`, `agency`.`country_id` AS `t1_c15`, `agency`.`phone` AS `t1_c16`, `agency`.`fax` AS `t1_c17`, `agency`.`address_formatted` AS `t1_c18`, `agency`.`website` AS `t1_c19`, `agency`.`bank_name` AS `t1_c20`, `agency`.`bank_branch` AS `t1_c21`, `agency`.`bank_account_name` AS `t1_c22`, `agency`.`bank_account_no` AS `t1_c23`, `agency`.`bank_owner_address` AS `t1_c24`, `agency`.`bank_owner_contact` AS `t1_c25`, `agency`.`bank_branch_code` AS `t1_c26`, `agency`.`bank_code` AS `t1_c27`, `agency`.`licence_period` AS `t1_c28`, `agency`.`awards` AS `t1_c29`, `agency`.`disciplinary_actions` AS `t1_c30`, `agency`.`create_time` AS `t1_c31`, `agency`.`update_time` AS `t1_c32`, `agency`.`settings` AS `t1_c33`, `agency`.`party_id` AS `t1_c34`, `agency`.`login_url` AS `t1_c35`, `agency`.`logout_url` AS `t1_c36`, `agency`.`parent_id` AS `t1_c37` FROM `agency` `agency`  WHERE (`agency`.`id`=:ypl0). Bound with :ypl0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] Agency.countByAttributes()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT COUNT(*) FROM `agency` `t` WHERE `t`.`parent_id`=:yp0. Bound with :yp0='4091'
2013/10/17 20:40:41 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainName()
2013/10/17 20:40:41 [trace] [system.web.filters.CFilterChain] Running filter SiteController.filterdomainRedirect()
2013/10/17 20:40:41 [trace] [system.CModule] Loading "clientScript" application component
2013/10/17 20:40:41 [trace] [system.CModule] Loading "assetManager" application component
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `ps_module`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `ps_module`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] lazy loading Agency.party
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW FULL COLUMNS FROM `party`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SHOW CREATE TABLE `party`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT `party`.`id` AS `t1_c0`, `party`.`uuid` AS `t1_c1`, `party`.`type` AS `t1_c2`, `party`.`create_time` AS `t1_c3`, `party`.`update_time` AS `t1_c4` FROM `party` `party`  WHERE (`party`.`id`=:ypl0). Bound with :ypl0='33028'
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id = :party_id
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :party_id='33028'
2013/10/17 20:40:41 [trace] [system.db.ar.CActiveRecord] PsModule.findAll()
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT * FROM `ps_module` `t`
2013/10/17 20:40:41 [trace] [system.db.CDbCommand] Querying SQL: SELECT m.ps_module_code, start_date, end_date FROM `ps_module_enabled` m 
				INNER JOIN `party` p ON (m.party_id = p.id) 
				WHERE p.id IN (:agencyPartyId) 
				AND m.deleted = 0 
				GROUP BY m.ps_module_code. Bound with :agencyPartyId='33028'
